Re: libpq not reentrant

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

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

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