Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id D53286341E4 for ; Wed, 4 Mar 2009 18:30:19 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 68355-08 for ; Wed, 4 Mar 2009 18:30:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6C8F46341DB for ; Wed, 4 Mar 2009 18:30:15 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n24MUACg008354; Wed, 4 Mar 2009 17:30:10 -0500 (EST) To: Scott Marlowe cc: Carol Walter , pgsql-admin@postgresql.org Subject: Re: Database in use? In-reply-to: References: <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> Comments: In-reply-to Scott Marlowe message dated "Wed, 04 Mar 2009 14:53:26 -0700" Date: Wed, 04 Mar 2009 17:30:10 -0500 Message-ID: <8353.1236205810@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/70 X-Sequence-Number: 31570 Scott Marlowe writes: > On Wed, Mar 4, 2009 at 2:40 PM, Carol Walter 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