Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: dropdb cmd line args



"sami" <sami(dot)jan(at)gmail(dot)com> writes:
> When I give the program the following arguments, it throws up an error:

>> dropdb -i -h localhost -p 5432 -U postgres - W password dataBaseToDrop

-W does not take the password as an argument on the command line, it
just forces a prompt for the password.  (Which will happen anyway if
needed, so really -W is a waste of typing.)

Also, I hope you weren't really spelling it with a space between the
dash and the W...

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group