Re: BUG #2333: dropdb ignores the database name argument

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: kevin barnes <vinbarnes(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2333: dropdb ignores the database name argument
Date: 2006-03-19 02:10:22
Message-ID: 200603190210.k2J2AMu17622@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

kevin barnes wrote:
>
> The following bug has been logged online:
>
> Bug reference: 2333
> Logged by: kevin barnes
> Email address: vinbarnes(at)gmail(dot)com
> PostgreSQL version: 8.1
> Operating system: ubuntu 5.10
> Description: dropdb ignores the database name argument
> Details:
>
> In the 8.1 release on Unbuntu 5.10 there is an error with the dropdb command
> in /usr/bin. The error manifests itself by not respecting the DBNAME
> argument. It assumes that you want to connect to a database named 'postgres'
> and ignores whatever argument you give it. The error returned is:
>
> dropdb: database removal failed: ERROR: database "postgres" does not exist
>
> The error is actually correct, because I do not have a database named
> postgres, but the command does not work correctly.
>
> I downgraded through apt-get to 8.0 and dropdb works as expected. I believe
> the version I was running was 8.1.3.

I think something strange is happening in your installation. I can not
reproduce your failure.

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2006-03-19 02:17:24 Re: BUG #2333: dropdb ignores the database name argument
Previous Message Stephan Szabo 2006-03-19 00:13:49 Re: BUG #2334: WHERE IN (SUBSELECT) fails when column is null