| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Alex Avriette <a_avriette(at)acs(dot)org> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: dropdb to a remote host |
| Date: | 2001-11-13 21:57:47 |
| Message-ID: | 200111132157.fADLvl518252@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jason Earl | 2001-11-13 22:02:41 | Re: dropdb to a remote host |
| Previous Message | Glen Parker | 2001-11-13 21:56:44 | CREATE DATABASE WITH LOCATION |