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

From Christoph Zwerschke
Subject Re: Fix for a problem with auto reconnection
Date
Msg-id 53A6EED1.1050506@online.de
Whole thread Raw
In response to Re: Fix for a problem with auto reconnection  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Responses Re: Fix for a problem with auto reconnection  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
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


pgadmin-hackers by date:

Previous
From: Dmitriy Olshevskiy
Date:
Subject: PATCH: save and restore the settings of the search objects dialog
Next
From: Dmitriy Olshevskiy
Date:
Subject: PATCH: don't save empty favourite queries