Re: Patch: commandline connect/launch

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Patch: commandline connect/launch
Date: 2006-01-09 10:40:39
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7EE67@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of
> Magnus Hagander
> Sent: 08 January 2006 16:56
> To: pgadmin-hackers(at)postgresql(dot)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.

Browse pgadmin-hackers by date

  From Date Subject
Next Message Tomek Kochanek 2006-01-09 11:02:43 pgAdminIII feature proposal - Logging the SQL commands history
Previous Message svn 2006-01-09 10:38:50 SVN Commit by dpage: r4884 - in trunk/pgadmin3: . docs/en_US src src/frm src/include