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