Обсуждение: Re: [PATCHES] default database creation with initdb

Поиск
Список
Период
Сортировка

Re: [PATCHES] default database creation with initdb

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Robert Treat [mailto:xzilla@users.sourceforge.net]
> Sent: 21 June 2005 08:10
> To: Tom Lane
> Cc: Dave Page; Andrew Dunstan; Andreas Pflug; Magnus
> Hagander; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] [PATCHES] default database creation with initdb
>
> On Tuesday 21 June 2005 00:12, Tom Lane wrote:
> > "Dave Page" <dpage@vale-housing.co.uk> writes:
> > > OK, new patch posted to -patches that updates all the
> utilities as well.
> >
>
> If I read the code correctly, the database name will be hardwired to
> "postgres" regardless of the default super user name correct?

Yes - that's intentional so that pgAdmin/phpPgAdmin et al. can
reasonably expect it to be there.

Regards, Dave


Re: [PATCHES] default database creation with initdb

От
Christopher Kings-Lynne
Дата:
> Yes - that's intentional so that pgAdmin/phpPgAdmin et al. can
> reasonably expect it to be there.

Problem is, how the hell do I know it's there before I connect?

Chris