Re: libpq not reentrant

Поиск
Список
Период
Сортировка
От Federico Di Gregorio
Тема Re: libpq not reentrant
Дата
Msg-id 1011367695.1469.6.camel@nenya
обсуждение исходный текст
Ответ на libpq not reentrant  (Federico Di Gregorio <fog@initd.org>)
Ответы Re: libpq not reentrant  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: libpq not reentrant
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq not reentrant