Skip site navigation (1) Skip section navigation (2)

Re: libpq not reentrant

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Federico Di Gregorio <fog(at)initd(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: libpq not reentrant
Date: 2002-01-18 14:59:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Federico Di Gregorio <fog(at)initd(dot)org> writes:
> libpq claims to be reentrant; to put it shortly it isn't. the problem
> arise when using crypt authentication. on the Linux/glibc2 arch, the
> call to crypt() is not reentrant and crypt_r or DES/libcrypto crypt
> should be used instead.

Hmm.  Good point; but crypt_r isn't portable, so we can't easily switch
over to it.  Thoughts?

			regards, tom lane

In response to


pgsql-bugs by date

Next:From: Federico Di GregorioDate: 2002-01-18 15:08:53
Subject: Re: libpq not reentrant
Previous:From: Samuele BrignoliDate: 2002-01-18 11:45:19
Subject: odbc error

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group