dropdb cmd line args

From: "sami" <sami(dot)jan(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: dropdb cmd line args
Date: 2006-09-28 17:08:44
Message-ID: 1159463324.408132.274940@d34g2000cwd.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

I am new to Postgres. I am using PostgreSQL 8.1.4 on WinXP.

I tried using dropdb.exe to drop a database I created using pgAdminIII.

It seems to me that dropdb.exe expects arguments in an apparently weird
kind of way.

When I give the program the following arguments, it throws up an error:

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

Error: "dropdb: too many command-line arguments (first is "test1")
Try "dropdb --help" for more information."

However, the following just gives a message I do not expect:

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

Database "password" will be permanently removed.
Are you sure? (y/n) n

Is this acceptable/normail behavior?

Thanks

Sami

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-09-28 17:12:22 Re: Dead Lock problem with 8.1.3
Previous Message Kai Hessing 2006-09-28 16:44:52 Re: Dead Lock problem with 8.1.3