pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Carol Walter <walterc@indiana.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database in use?
Date: Wed, 04 Mar 2009 17:30:10 -0500
Message-ID: <8353.1236205810@sss.pgh.pa.us> (raw)
In-Reply-To: <dcc563d10903041353y4e094d8dt29cce4f30c9080f6@mail.gmail.com>
References: <EA6C319D-9983-438C-8CB9-5424605A5CE1@indiana.edu>
	<23817.1236025942@sss.pgh.pa.us>
	<91CFD986-3CF6-4419-9908-2FEF9C469441@indiana.edu>
	<28543.1236029013@sss.pgh.pa.us>
	<27F905C5-A238-446A-A0E8-21174783E46C@indiana.edu>
	<1730.1236043881@sss.pgh.pa.us>
	<1B70D8AC-E1AF-42F2-85D9-92BF3C975ED7@indiana.edu>
	<dcc563d10903041353y4e094d8dt29cce4f30c9080f6@mail.gmail.com>

Scott Marlowe <scott.marlowe@gmail.com> writes:
> On Wed, Mar 4, 2009 at 2:40 PM, Carol Walter <walterc@indiana.edu> wrote:
>> This database is one that I created just a few hours ago just to test some
>> things myself.  There can be no one in it except me.

> Correct me if I'm wrong, but isn't that enough  ((just you) to cause
> the drop database to fail?

If you try to drop the current session's database, you get a different
error message.

regression=# drop database regression;
ERROR:  cannot drop the currently open database

			regards, tom lane



view thread (19+ messages)

Message-ID: <8353.1236205810@sss.pgh.pa.us>
Permalink:  ../8353.1236205810@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8353.1236205810@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scott.marlowe@gmail.com, walterc@indiana.edu
  Subject: Re: Database in use?
  In-Reply-To: <8353.1236205810@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox