Re: Fix for a problem with auto reconnection - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Fix for a problem with auto reconnection
Date
Msg-id CA+OCxowc5A88oK_BALL3a6vcpOoHHhsJy3ji2ezb9tGuJN7kbw@mail.gmail.com
Whole thread Raw
In response to Re: Fix for a problem with auto reconnection  (Christoph Zwerschke <cito@online.de>)
Responses Re: Fix for a problem with auto reconnection  (Christoph Zwerschke <cito@online.de>)
List pgadmin-hackers
Ashesh - your thoughts on this? I'm not sure I see how resetting
needColQuoting would prevent a datlastsysoid error, though I admit I
haven't had a chance to dive into the code yet.

On Sun, Jun 22, 2014 at 3:57 PM, Christoph Zwerschke <cito@online.de> wrote:
> Thanks for looking into this. The problem with the wrong encoding is now
> gone, but another problem appeared:
>
> When the connection is reestablished, I get an additional alert with an
> error message "Column not found in pgSet: "datlastsysoid".
>
> The problem seems to be that needColQuoting is not reset to false in the
> Reset() method as it is done in the Reconnect() method.
>
> Wenn I add the line "needColQuoting = false" before the call to Initialize()
> in the Reset() method, everything works as expected.
>
> -- Christoph
>
>
> Am 17.06.2014 08:35, schrieb Ashesh Vashi:
>
>> Dave,
>>
>> PFA - moved the initialisation code in a separate function, and called
>> that function from the "Reset" function too.
>> Please take a look at it.
>>
>>
>> --
>>
>> Thanks & Regards,
>>
>> Ashesh Vashi



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: PATCH: don't save empty favourite queries
Next
From: Christoph Zwerschke
Date:
Subject: Re: Fix for a problem with auto reconnection