Re: Help with dying postmaster on win2k...

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Help with dying postmaster on win2k...
Дата
Msg-id 20020305135108.GI1696@tishler.net
обсуждение исходный текст
Ответ на Help with dying postmaster on win2k...  ("Ramos-1, Frankie" <Frankie.Ramos-1@ksc.nasa.gov>)
Список pgsql-cygwin
Frankie,

On Thu, Feb 28, 2002 at 11:14:19AM -0500, Ramos-1, Frankie wrote:
> When I try to run the postmaster I'm getting the followin error:
>
> $ /usr/bin/postmaster -D /usr/local/pgsql/data
> DEBUG:  database system was shut down at 2002-02-28 11:06:26
> DEBUG:  CheckPoint record at (0, 1563504)
> DEBUG:  Redo record at (0, 1563504); Undo record at (0, 0); Shutdown TRUE
> DEBUG:  NextTransactionId: 615; NextOid: 18720
> DEBUG:  database system is in production state
> FATAL 1:  Database "admin" does not exist in the system catalog.
> DEBUG:  shutting down
> DEBUG:  database system is shut down
>
> I have no idea of why it is looking for the admin database?

Because you are connecting from an account called "admin" and PostgreSQL
defaults to a database name that is the same as your logname.

> Any help would be more than appreciated.

See the usage statement from psql:

    $ psql --help
    This is psql, the PostgreSQL interactive terminal.

    Usage:
      psql [options] [dbname [username]]
    ...

So, try supplying a database argument.  For example:

    $ psql template1

Jason

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

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: POSTGRESQL CYGWIN - Configuration
Следующее
От: "Tim Finch, FosterFinch Ltd"
Дата:
Сообщение: Re: PGSTAT : COnnection Refused Error (pgsql 7.2-2 on