Re: [BUGS] BUG #3867: PQconnectdb(NULL) cores instead of errors.

2008-01-10 Thread Tom Lane
"Ken Lorber" <[EMAIL PROTECTED]> writes: > PQconnectdb(NULL) cores in strdup() in interfaces/libpq/fe-connect.c:3091 > (conninfo_parse). Throwing an error would be more useful. 99% of library routines will core if you pass them a null for an argument that that's not specifically documented to be

[BUGS] BUG #3867: PQconnectdb(NULL) cores instead of errors.

2008-01-10 Thread Ken Lorber
The following bug has been logged online: Bug reference: 3867 Logged by: Ken Lorber Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3beta4 Operating system: Mac OSX Description:PQconnectdb(NULL) cores instead of errors. Details: PQconnectdb(NULL) cores in str