Re: FATAL: no such database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FATAL: no such database
Дата
Msg-id 582711.1645476238@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FATAL: no such database  (BeeRich Lists <bee.lists@gmail.com>)
Список pgsql-novice
BeeRich Lists <bee.lists@gmail.com> writes:
> For some reason I cannot create a database.  I use Sequel, Postico, and psql, and all three won’t create a database.
Thefirst two write the syntax for me, and they too return errors.  Here is an example in psql: 
> rich=# CREATE DATABASE alpha;
> CREATE DATABASE
> rich=# \c alpha;
> FATAL:  no such database: alpha
> Previous connection kept

Well, that's just odd.  Do you have any nondefault extensions loaded into
the database?  I notice that the normal message for a missing database
looks different:

alpha=# \c alpha2
FATAL:  database "alpha2" does not exist
Previous connection kept

and in fact the string "no such database" appears nowhere in the core
Postgres code.  So I'm not sure what's throwing that error, but I guess
it must be some add-on code.

BTW, the semicolon is superfluous, although I suspect that removing
it won't change anything.

            regards, tom lane



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

Предыдущее
От: BeeRich Lists
Дата:
Сообщение: FATAL: no such database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FATAL: no such database