Re: [pgAdmin III] #209: "Connect to Server" dialog buggy

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin III] #209: "Connect to Server" dialog buggy
Date: 2010-07-12 12:21:44
Message-ID: AANLkTikQkzez-fXK1nVBjJo9k6gxopNodHO53ig7taHo@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave,

PFA the updated patch.
[Please check my inline answers.]

On Mon, Jul 12, 2010 at 4:37 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Mon, Jul 12, 2010 at 11:39 AM, Ashesh Vashi
> <ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
> > Hi Dave,
> > Please find the patch for the same.
>
> Thanks. This looks good to me following some quick testing, but I
> uncovered some other issues - could you look at them please?
>
> - We seem to stop populating the server combo box as soon as we find
> the one we're currently connected to. This happens at ~ line 286 in
> dlgSelectConnection.cpp, where we set foundServer = true. I can't see
> why we do this, but it seems fairly deliberate. Any guesses? Should we
> just remove that?
>
My mistake - I introduced that variable in the previous patch.

>
> - It seems like we ignore sslmode when we create new connections. We
> need to honour the server config.
>
Done.

>
> Note that I haven't tested to ensure this doesn't break anything in
> command line startup mode (eg. with -q). Can you please ensure this
> mode is unaffected?
>
Tested.
*
--**
**Thanks & Regards,**

**Ashesh Vashi**
**EnterpriseDB INDIA:* Enterprise Postgres Company<http://www.enterprisedb.com>

>
> Thanks.
>
> --
> Dave Page
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise Postgres Company
>

Attachment Content-Type Size
Ticket#209_v2.patch text/x-patch 5.4 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2010-07-12 16:31:14 Re: Ticket 118: Exclusion constraints
Previous Message Dave Page 2010-07-12 11:07:12 Re: [pgAdmin III] #209: "Connect to Server" dialog buggy