"Raymond O'Donnell" <[EMAIL PROTECTED]> writes:
>   dropdb -U postgres -W template1
> at the command line, all I get back is "dropdb: database removal 
> failed: ERROR:  cannot drop the currently open database".

That's because the dropdb command itself connects to template1.

See the article on techdocs.postgresql.org about rebuilding template1
to find out about all the gotchas and workarounds needed to do this.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to