X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 78C059DCCEE for ; Fri, 16 Dec 2005 18:45:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 62615-10 for ; Fri, 16 Dec 2005 18:45:05 -0400 (AST) X-Greylist: delayed 00:13:59.674037 by SQLgrey- Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [63.240.77.84]) by postgresql.org (Postfix) with ESMTP id 7D7D39DCC18 for ; Fri, 16 Dec 2005 18:45:01 -0400 (AST) Received: from [10.0.1.5] (c-24-20-199-254.hsd1.or.comcast.net[24.20.199.254]) by comcast.net (sccrmhc14) with SMTP id <200512162231010140031jcae>; Fri, 16 Dec 2005 22:31:03 +0000 Subject: How to find data directory From: Ken Hill Reply-To: ken@scottshill.com To: pgsql-admin@postgresql.org Content-Type: text/plain Organization: Scotts Hill Associates, Inc. Date: Fri, 16 Dec 2005 14:31:03 -0800 Message-Id: <1134772264.7276.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/170 X-Sequence-Number: 19890 I installed postgresql using the Synaptic Package Manager on my Ubuntu distro. I created the 'postgres' user account. I can create users and database, but I can find the directory where the database are kept. How do I find where the postgresql database directory is from a command line?