Search Postgresql Archives

Re: pgAdmin3 question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: lmyho [mailto:lm_yho@xxxxxxxxx] 
> Sent: 07 April 2006 22:31
> To: Dave Page; pgsql-general@xxxxxxxxxxxxxx
> Subject: RE: [GENERAL] pgAdmin3 question
> 
> 
> --- Dave Page <dpage@xxxxxxxxxxxxxxxxxx> 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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux