Thread: SVN Commit by mha: r5399 - trunk/pgadmin3/src/dlg

SVN Commit by mha: r5399 - trunk/pgadmin3/src/dlg

From
svn@pgadmin.org
Date:
Author: mha

Date: 2006-09-24 21:19:40 +0100 (Sun, 24 Sep 2006)

New Revision: 5399

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5399&view=rev

Log:
(Hopefully) fix new connection dialog in Query tool. When connecting from the tree, properly show databases. When
connectingdirectly with the tool, properly react to typing in the username field. 


Modified:
   trunk/pgadmin3/src/dlg/dlgSelectConnection.cpp

Re: SVN Commit by mha: r5399 - trunk/pgadmin3/src/dlg

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> svn@pgadmin.org
> Sent: 24 September 2006 21:20
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] SVN Commit by mha: r5399 -
> trunk/pgadmin3/src/dlg
>
> (Hopefully) fix new connection dialog in Query tool. When
> connecting from the tree, properly show databases. When
> connecting directly with the tool, properly react to typing
> in the username field.

OK, getting better - I can type a database name that doesn't exist and
get something like:

---------------------------
pgAdmin III
---------------------------
An error has occured:

Could not resolve hostname localhost:5433
---------------------------
OK
---------------------------

I would think that I should never be able to type a database name at all
when running with a browser tree. Even in standalone mode, is there any
need?

Regards, Dave.

Re: SVN Commit by mha: r5399 - trunk/pgadmin3/src/dlg

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Dave Page
> Sent: 24 September 2006 22:00
> To: Magnus Hagander; pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] SVN Commit by mha: r5399 -
> trunk/pgadmin3/src/dlg
>
>
>
> > -----Original Message-----
> > From: pgadmin-hackers-owner@postgresql.org
> > [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> > svn@pgadmin.org
> > Sent: 24 September 2006 21:20
> > To: pgadmin-hackers@postgresql.org
> > Subject: [pgadmin-hackers] SVN Commit by mha: r5399 -
> > trunk/pgadmin3/src/dlg
> >
> > (Hopefully) fix new connection dialog in Query tool. When
> > connecting from the tree, properly show databases. When
> > connecting directly with the tool, properly react to typing
> > in the username field.
>
> OK, getting better - I can type a database name that doesn't exist and
> get something like:
>
> ---------------------------
> pgAdmin III
> ---------------------------
> An error has occured:
>
> Could not resolve hostname localhost:5433
> ---------------------------
> OK
> ---------------------------
>


And after clicking OK on this, and the subsequent dialog, it crashes :-(

/D