Re: dropdb weirdness

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: dropdb weirdness
Дата
Msg-id 201006291322.48287.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на dropdb weirdness  (Geoffrey <lists@serioustechnology.com>)
Ответы Re: dropdb weirdness  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tuesday 29 June 2010 1:04:27 pm Geoffrey wrote:
> So running the following command:
>
> dropdb -p 5443 swr
>
> I get:
>
> dropdb: could not connect to database postgres: FATAL:  database
> "postgres" does not exist
>
> Why is it not 'seeing' the database name I'm passing to it?  Why is it
> trying to drop a database named postgres??
>
> --

It needs to connect to the database cluster to run the DROP DATABASE command and
is trying to use the system database postgres. Did you drop the postgres
database? Does the user you are connecting as have the permissions to postgres?



--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: dropdb weirdness
Следующее
От: Tom Lane
Дата:
Сообщение: Re: dropdb weirdness