Problem dropping databases

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Problem dropping databases
Date: 1998-09-22 13:46:33
Message-ID: 3607AA39.84907362@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I was working on docs and notice that Postgres no longer responds with a
warning if a database is dropped multiple times:

postgres=> drop database yahoo;
DESTROYDB
postgres=> drop database yahoo;
DESTROYDB
postgres=> \c yahoo
connecting to new database: yahoo
FATAL 1: Database 'yahoo' does not exist.
golem$ psql
postgres=> drop database yahoo;
DESTROYDB

The destroydb command behaves similarly. The behavior documented by
Jose' was:

postgres=> drop database yahoo;
DESTROYDB
postgres=> drop database yahoo;
WARN: destroydb: database "yahoo" does not exist.

Bruce, this should probably go on the open issues list and be fixed for
v6.4...

- Tom

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1998-09-22 15:57:48 Re: [HACKERS] oid8types() borken?
Previous Message Jose' Soares 1998-09-22 09:12:17 Re: [HACKERS] current- crash