> -----Original Message-----
> From: lmyho [mailto:[EMAIL PROTECTED] 
> Sent: 07 April 2006 22:31
> To: Dave Page; pgsql-general@postgresql.org
> Subject: RE: [GENERAL] pgAdmin3 question
> 
> 
> --- Dave Page <dpage@vale-housing.co.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.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to