Re: dropdb to a remote host
От | Bruce Momjian |
---|---|
Тема | Re: dropdb to a remote host |
Дата | |
Msg-id | 200111132157.fADLvl518252@candle.pha.pa.us обсуждение исходный текст |
Ответ на | dropdb to a remote host (Alex Avriette <a_avriette@acs.org>) |
Ответы |
Re: dropdb to a remote host
|
Список | pgsql-general |
> 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? You need to connect to template1 to do the dbname drop. My guess is that pg_database has been truncated somehow. You can actually connect to any database and do the command "DROP DATABASE dbname". -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: