[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [GENERAL] dropdb cmd line args
From:       Tom Lane <tgl () sss ! pgh ! pa ! us>
Date:       2006-09-30 20:52:33
Message-ID: 16844.1159649553 () sss ! pgh ! pa ! us
[Download RAW message or body]

"sami" <sami.jan@gmail.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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic