Re: trouble with an older version of postgresql

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Re: trouble with an older version of postgresql
Дата
Msg-id 4b701988.9713f30a.4a84.ffff8927@mx.google.com
обсуждение исходный текст
Ответ на Re: trouble with an older version of postgresql  (Krešimir Križanović <Kresimir.Krizanovic@fer.hr>)
Список pgsql-novice
On Mon, Feb 08, 2010 at 02:26:50PM +0100, Krešimir Križanović wrote:
>     The trouble is there is no database. When i try to create the first one
>    using createdb, i get an error:
>
>    createdb: could not connect to database postgres: FATAL:  Database
>    "postgres" does not exist in the system catalog.

See if you have a file called global/pg_database in your data directory. It
should be plain text, and contain a list of all the databases that exist. One
of them is probably called "template1", and you should be able to connect to
that. Note that 7.3 is awfully old, and you're unlikly to get much support for
it beyond "Upgrade immediately if not sooner."

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

Вложения

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

Предыдущее
От: Krešimir Križanović
Дата:
Сообщение: Re: trouble with an older version of postgresql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Incomplete pg_dump operation