Quote:
What is the pconnect function called with as arguments?

I traced them out - all strings are valid (and the flags are optional, removing that arg makes no difference). In any case the first time this is called there is no database, but the function should still return (a failure). I made a database manually and that didn't help either.

Rob