Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id A902D63342D for ; Mon, 2 Mar 2009 17:23:48 -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 54966-08 for ; Mon, 2 Mar 2009 17:23:42 -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 27EC86333C1 for ; Mon, 2 Mar 2009 17:23:42 -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 n22LNXg4028544; Mon, 2 Mar 2009 16:23:34 -0500 (EST) To: Carol Walter cc: pgsql-admin@postgresql.org Subject: Re: Database in use? In-reply-to: <91CFD986-3CF6-4419-9908-2FEF9C469441@indiana.edu> References: <23817.1236025942@sss.pgh.pa.us> <91CFD986-3CF6-4419-9908-2FEF9C469441@indiana.edu> Comments: In-reply-to Carol Walter message dated "Mon, 02 Mar 2009 15:50:11 -0500" Date: Mon, 02 Mar 2009 16:23:33 -0500 Message-ID: <28543.1236029013@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/25 X-Sequence-Number: 31525 Carol Walter writes: > Well, most recently I had created a new database using UTF8 encoding > and I had restored data to it, that had been in a database using > SQL_ASCII. I wanted to rename the original database. When I tried to > rename it, I got the message that I couldn't do it because the > database was in use. This particular database is in a 8.2.4 release. > I'm moving to 8.3.n but I'm not there yet. OK. Consulting the CVS history, I see that RENAME DATABASE does have a delay in it, but only in 8.3.x. regards, tom lane