Re: pgAdmin3 question

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAdmin3 question
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9B6A@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на pgAdmin3 question  (lmyho <lm_yho@yahoo.com>)
Список pgsql-general

> -----Original Message-----
> From: lmyho [mailto:lm_yho@yahoo.com]
> 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: postmaster going down own its on
Следующее
От: User Roman
Дата:
Сообщение: Re: Postgres Library natively available for Mac OSX Intel?