Are you using crypt on the connection?
Unfortunately, crypt is not reentrant.
> -----Original Message-----
> From: David Ford [mailto:david+cert@blue-labs.org]
> Sent: Monday, June 10, 2002 6:16 PM
> To: Dann Corbit
> Cc: vikas p verma; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] PostGres Doubt
>
>
> Is libpq/PQconnectdb() reentrant? I've tried repeatedly over
> time and
> it seems to incur segfaults every single time.
>
> -d
>
> Dann Corbit wrote:
>
> >The libpq functions are reentrant. These will be useful for
> just about
> >any project.
> >
> >
>
>