X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B6AAD8BA9A2 for ; Mon, 21 Feb 2005 14:21:15 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80430-09 for ; Mon, 21 Feb 2005 14:21:07 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by svr1.postgresql.org (Postfix) with ESMTP id D732A8BA51C for ; Mon, 21 Feb 2005 14:21:09 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id j1so285519rnf for ; Mon, 21 Feb 2005 06:21:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=fItWAyNxEqghK1TV5lcppwZh3QjGvV1zBjs16wHlnQF8KRXuQMPLTQ2vER0M1bWnfEB/QQPcev7slQ0aF3jAxV+agbPB40uK9ZurzLziwKrH0012KWDPcZxM0pEUD6hI0ffsv0sesqM3W7bx/Sp5qzQB9VIsh5rPNfNjFDTv3os= Received: by 10.39.3.39 with SMTP id f39mr118697rni; Mon, 21 Feb 2005 06:21:10 -0800 (PST) Received: by 10.38.97.43 with HTTP; Mon, 21 Feb 2005 06:21:10 -0800 (PST) Message-ID: <674d1f8a0502210621233cf44e@mail.gmail.com> Date: Mon, 21 Feb 2005 19:51:10 +0530 From: Gourish Singbal Reply-To: Gourish Singbal To: pgsql-admin@postgresql.org Subject: dropdb: database removal failed: ERROR: database "database_name" is being accessed by other users Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.084 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200502/190 X-Sequence-Number: 16358 This Error message was given when i was dropping the database. There are idle connections to the database as seen from ps -ef | grep postgres How can i drop the database with out restarting the postgres server.?. FYI: i am dropping the database to perform restoration of this backup database using psql from production. -- Best, Gourish Singbal