Re: BUG #11455: PQerrorMessage not reset after PQreset

Поиск
Список
Период
Сортировка
От Caleb Epstein
Тема Re: BUG #11455: PQerrorMessage not reset after PQreset
Дата
Msg-id CABzF1r-4OzQkbawEG4J-Wpc8H64XdAU8r+FGFF6Ur803POhZNw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #11455: PQerrorMessage not reset after PQreset  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #11455: PQerrorMessage not reset after PQreset  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-bugs

Here is the same logic in plain old C incase compiling or running C++0x code is problematic for anyone.

On Fri, Sep 19, 2014 at 3:57 PM, Tom Lane tgl-at-sss.pgh.pa.us |postgresql-bklyn| <uabn4z8tjt@sneakemail.com> wrote:
postgresql-bklyn@sneakemail.com writes:
> I'm testing application logic to reconnect to my database server after a
> connection failure.  I'm using PQreset() and I notice that the
> PQerrorMessage() result keeps growing after each failed reconnect.

It's unlikely that anyone is going to look into this unless you provide
a self-contained test case (ie, a small program that reproduces the
misbehavior).  It's too hard to guess exactly what you did.

                        regards, tom lane



--
Caleb Epstein
Вложения

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

Предыдущее
От: Caleb Epstein
Дата:
Сообщение: Re: BUG #11455: PQerrorMessage not reset after PQreset
Следующее
От: Alon
Дата:
Сообщение: Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.