Re: patch: garbage error strings in libpq

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: patch: garbage error strings in libpq
Дата
Msg-id 42CBE5ED.4050207@samurai.com
обсуждение исходный текст
Ответ на Re: patch: garbage error strings in libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: patch: garbage error strings in libpq
Re: patch: garbage error strings in libpq
Список pgsql-patches
Tom Lane wrote:
> I think this is all irrelevant language-lawyering; jtv spotted the true
> problem which is that we do not protect errno during the *first* call of
> libpq_gettext.

I think you're missing the point. Obviously the current code is wrong,
the debate is over the best way to fix it. Jeroen's interpretation of
the spec suggests that merely having libpq_gettext() preserve errno is
not sufficient. I'm not convinced this his interpretation is correct,
but it is a question worth resolving.

-Neil

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: patch: garbage error strings in libpq
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch: garbage error strings in libpq