Re: libpq not reentrant

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: libpq not reentrant
Дата
Msg-id 200201181721.g0IHL6m22240@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: libpq not reentrant  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: libpq not reentrant  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: libpq not reentrant  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
> 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...)
>
> 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?

As of 7.2 we are only going to recommend crypt for backward
compatibility with older releases.  I will add a mention in libpq docs
that crypt authentication is not thread-safe.  Even when crypt did work
it wasn't always portable between OS's.  Is that how we want to go?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-bugs по дате отправления:

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