Re: Patch: commandline connect/launch - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Patch: commandline connect/launch
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7EE67@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Patch: commandline connect/launch  ("Magnus Hagander" <mha@sollentuna.net>)
List pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Magnus Hagander
> Sent: 08 January 2006 16:56
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Patch: commandline connect/launch
>
> Attached patch makes it possibe to specify a server description to
> auto-connect to on the commandline ("-s mydbserver"), and also to have
> pgAdmin automatically launch the query tool ("-s mydbserver -q"). It
> will still open the main window as well, as there seems to be
> interaction between the query window and the main one that
> I'm not fully
> understanding yet :)
>
> It also rearranges the commandline parsing to use the wx class for
> commandline parsing. It just made things much easier to do it
> that way.
> Hopefully I didn't break anything else :-) As a bonus, there is now a
> "/h" for help on commandline args.

Thanks - patch committed with minor changes:

- Added documentation for all command line options

- Modified the patch to restore the server environment, but only if -q
is not used.

Regards, Dave.

pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4884 - in trunk/pgadmin3: . docs/en_US src src/frm src/include
Next
From: Tomek Kochanek
Date:
Subject: pgAdminIII feature proposal - Logging the SQL commands history