Re: Patch: Implement failover on libpq connect level.

Поиск
Список
Период
Сортировка
От Mithun Cy
Тема Re: Patch: Implement failover on libpq connect level.
Дата
Msg-id CAD__Ouies5DMSeege+16kPVO0S7uXakHcoOjuJLhvuJRCLw=4w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Patch: Implement failover on libpq connect level.  (Mithun Cy <mithun.cy@enterprisedb.com>)
Ответы Re: Patch: Implement failover on libpq connect level.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, Nov 30, 2016 at 7:14 AM, Mithun Cy <mithun.cy@enterprisedb.com> wrote:
> Thanks, send query resets the errorMessage. Will fix same.
PQsendQuery()->PQsendQueryStart()->resetPQExpBuffer(&conn->errorMessage);

Please find the patch which fixes this bug. conn->errorMessage as per definition only stores current error message, a new member
conn->savedMessage is introduced to save and restore error messages related to previous hosts which we failed to connect.

--
Thanks and Regards
Mithun C Y

Вложения

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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: pgbench - allow backslash continuations in \set expressions
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Partition-wise join for join between (declaratively) partitioned tables