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 56106D1B491 for ; Tue, 8 Jun 2004 21:07:27 -0300 (ADT) 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 70221-02 for ; Wed, 9 Jun 2004 00:07:26 +0000 (GMT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id D4967D1B431 for ; Tue, 8 Jun 2004 21:07:21 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 433E335667; Tue, 8 Jun 2004 17:07:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 41C3B35612; Tue, 8 Jun 2004 17:07:25 -0700 (PDT) Date: Tue, 8 Jun 2004 17:07:25 -0700 (PDT) From: Stephan Szabo To: "Phillip R. aka Qbert" Cc: pgsql-admin@postgresql.org Subject: Re: Solution! (was: Re: Linux (Debian Woody)...) In-Reply-To: <200402271813.58331.qbert@t-online.de> Message-ID: <20040608170104.S65025@megazone.bigpanda.com> References: <200402251649.58818.qbert@t-online.de> <200402271813.58331.qbert@t-online.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/95 X-Sequence-Number: 13755 On Fri, 27 Feb 2004, Phillip R. aka Qbert wrote: > Am Mittwoch, 25. Februar 2004 16:49 schrieb Phillip R. aka Qbert: > >... > > I figured it's a user problem, so I thought it might be a good idea > > to drop my test-db elefant-data, and try to create a new one, this > > time making shure it'd be with the user it was intendend for - > > phillip. > > > > It was then that I found out that I couldn't either create a new or > > drop an existing database, no matter which user was logged in via > > psql. > > I found out the following: > It's not possible to delete a database when logged on to the database > server via psql. > > Shouldn't this be documented somewhere? 7.4s interactive docs for DROP DATABASE has a statement in the description, "Also, it cannot be executed while you or anyone else are connected to the target database."