From: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
---|---|
To: | "lmyho" <lm_yho(at)yahoo(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pgAdmin3 question |
Date: | 2006-04-08 15:21:16 |
Message-ID: | E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9B6A@ratbert.vale-housing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> -----Original Message-----
> From: lmyho [mailto:lm_yho(at)yahoo(dot)com]
> Sent: 07 April 2006 22:31
> To: Dave Page; pgsql-general(at)postgresql(dot)org
> Subject: RE: [GENERAL] pgAdmin3 question
>
>
> --- Dave Page <dpage(at)vale-housing(dot)co(dot)uk> wrote:
>
> > > We have test database created in the initdb cluster, but
> on the Add
> > > Server page
> > of
> > > pgAdmin3, the Maintenance DB dropdown box does not show this
> > > database. How can
> > we
> > > make it to display this db in the dropdown box too?
> >
> > You can't without hacking the code.
>
> How to do this?
Add the required lines to the dlgServer constructor in
src/dlg/dlgServer.cpp, then recompile pgAdmin, eg.
cbDatabase->Append(wxT("postgres"));
cbDatabase->Append(wxT("template1"));
// Add additional database options
cbDatabase->Append(wxT("research"));
cbDatabase->Append(wxT("sales"));
Regards, Dave.
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel McBrearty | 2006-04-08 15:31:14 | advice on schema for multilingual text |
Previous Message | Martijn van Oosterhout | 2006-04-08 14:49:04 | Re: postmaster going down own its on |