Re: Patch: Implement failover on libpq connect level. - Mailing list pgsql-hackers

From Mithun Cy
Subject Re: Patch: Implement failover on libpq connect level.
Date
Msg-id CAD__Ouj+wCZE0S3b8Jxj5rgP2iAq15KC9dK6uiZV7ufq9-JMGQ@mail.gmail.com
Whole thread Raw
In response to Re: Patch: Implement failover on libpq connect level.  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Patch: Implement failover on libpq connect level.
List pgsql-hackers
On Wed, Nov 30, 2016 at 1:44 AM, Robert Haas <robertmhaas@gmail.com> wrote:
 >On Tue, Nov 29, 2016 at 2:19 PM, Kuntal Ghosh <kuntalghosh.2007@gmail.com> wrote:
 >> I was doing some testing with the patch and I found some inconsistency
 >> in the error message.

 > Hmm, maybe the query buffer is getting cleared someplace in there.  We
 > might need to save/restore it.
 
 Thanks, send query resets the errorMessage. Will fix same.

 PQsendQuery()->PQsendQueryStart()->resetPQExpBuffer(&conn->errorMessage);


Thanks and Regards
Mithun C Y

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: patch: function xmltable
Next
From: Chris Bandy
Date:
Subject: Re: GiST support for UUIDs