Re: dropdb to a remote host

Поиск
Список
Период
Сортировка
От Jason Earl
Тема Re: dropdb to a remote host
Дата
Msg-id 87n11qjpmm.fsf@npa01zz001.simplot.com
обсуждение исходный текст
Ответ на dropdb to a remote host  (Alex Avriette <a_avriette@acs.org>)
Список pgsql-general
I believe that dropdb simply connects to template1 and issues the
"drop database" command.  If you don't have access to the template1
database then you can't drop other databases.

Jason

Alex Avriette <a_avriette@acs.org> writes:

> when I do:
>
> /usr/local/pgsql/bin/dropdb -h myhost -U myuser dbname
>
> it complains that there isnt an entry in pg_hba.conf for 'template1', when i
> rather explicitly told it to drop 'dbname'. am i missing something?
>
> alex
>
> --
> alex j. avriette
> perl hacker.
> a_avriette@acs.org
> $dbh -> do('unhose');
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Behavior of nextval() and currval()
Следующее
От: "John Gray"
Дата:
Сообщение: Re: xml support