Re: libpq not reentrant - Mailing list pgsql-bugs

From Federico Di Gregorio
Subject Re: libpq not reentrant
Date
Msg-id 1011367695.1469.6.camel@nenya
Whole thread Raw
In response to libpq not reentrant  (Federico Di Gregorio <fog@initd.org>)
Responses Re: libpq not reentrant
List pgsql-bugs
Il ven, 2002-01-18 alle 16:21, Tom Lane ha scritto:
> So right off the bat, configure is going to have a task guessing
> the correct type of the third argument to crypt_r.  (Who knows what
> it is on other Unixen...)

very bad, indeed. i think i'll solve that (on my side) by adding a
configure option to psycopg to be used to allow threading when the user
is *sure* postgres has been compiled with a reentrant version of crypt.=20

> Given that as of 7.2, MD5 is the preferred password encryption method
> and crypt() is deprecated, I'm not inclined to spend a lot of work
> trying to develop a bulletproof autoconf procedure for making crypt
> re-entrant.  I'm strongly inclined to just document the problem and
> leave it at that.  Comments?

yes. what about using crypt from DES (reentrant) if postgres is being
linked with it? is the MD5 stuff reentrant?

thank you for your promptly response,
federico

--=20
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
INIT.D Developer                                           fog@initd.org
              La felicit=E0 =E8 una tazza di cioccolata calda. Sempre. -- Io

pgsql-bugs by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: libpq not reentrant
Next
From: Tom Lane
Date:
Subject: Re: libpq not reentrant