Hi Julia,

On Mon, Jan 29, 2007 at 04:13:58PM +0300, Julia Dubenskaya wrote:
> I use PostgreSQL database, and when I say:
> /usr/local/bin/openxpkiadm certificate import --file cacert.pem
> I get the error:
> 
> I18N_OPENXPKI_SERVER_DBI_DBH_EXECUTE_FAILED; __ERRNO__ => 7; __ERRVAL__ => 
> ERROR:  argument of WHERE
> must be type boolean, not type integer
               ^^^^^^^

Hmmm, 1 works fine in the MySQL case. But I guess if the DB wants
boolean (which is probably the SQL-correct case), we should rather
try something along the lines of 1=1. This works fine with MySQL,
could you please confirm that it works with PostgreSQL?
One more thing I noticed is that I am unsure whether the secret should
be deleted in the case of an openxpkiadm command - do we want users
to only run those while the server is not running, or has the code I
checked in an unwanted impact on a running server (namely deleting a possibly
still valid secret)?

Regards,
    Alex
-- 
Dipl.-Math. Alexander Klink | IT-Security Engineer
        [EMAIL PROTECTED] | working @ urn:oid:1.3.6.1.4.1.11417

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel

Reply via email to