Re: libpq not reentrant
| От | Tom Lane |
|---|---|
| Тема | Re: libpq not reentrant |
| Дата | |
| Msg-id | 6626.1011368123@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: libpq not reentrant (Federico Di Gregorio <fog@initd.org>) |
| Ответы |
Re: libpq not reentrant
|
| Список | pgsql-bugs |
Federico Di Gregorio <fog@initd.org> writes:
>> 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?
Dunno, how would we detect that? Is it any more portable than crypt_r?
Is it worth the trouble?
> is the MD5 stuff reentrant?
Yes. It's all our own code, so we don't have to rely on the vagaries of
local libraries, either.
regards, tom lane
В списке pgsql-bugs по дате отправления: