From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Patch: commandline connect/launch |
Date: | 2006-01-08 16:55:40 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE92E994@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
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.
Thoughts/comments?
//Magnus
Attachment | Content-Type | Size |
---|---|---|
pgadmin_cmdline.patch | application/octet-stream | 6.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | svn | 2006-01-09 08:45:15 | SVN Commit by dpage: r4878 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/frm |
Previous Message | Magnus Hagander | 2006-01-08 15:05:28 | Re: Copy quoting |