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

Re: dropdb cmd line args

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "sami" <sami(dot)jan(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: dropdb cmd line args
Date: 2006-09-30 20:52:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
"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

In response to

pgsql-general by date

Next:From: Gregory S. WilliamsonDate: 2006-09-30 22:33:06
Subject: Re: Cause of ERROR: could not open relation 1663/856689/856777: Invalid argument?
Previous:From: Tom LaneDate: 2006-09-30 20:49:31
Subject: Re: Strange pg_ctl behavior: postmaster shuts down on shell interrupt

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group