X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9C9C0D1B52D for ; Mon, 20 Oct 2003 07:38:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 66825-07 for ; Mon, 20 Oct 2003 04:38:29 -0300 (ADT) Received: from my.endian.it (unknown [62.146.87.34]) by svr1.postgresql.org (Postfix) with ESMTP id DD154D1B50C for ; Mon, 20 Oct 2003 04:38:11 -0300 (ADT) Received: from [192.168.1.2] (host239-104.pool80181.interbusiness.it [80.181.104.239]) (authenticated) by my.endian.it (8.11.6/8.11.6) with ESMTP id h9K81U104392; Mon, 20 Oct 2003 10:01:30 +0200 Subject: Re: how to recognise databses From: Mailing List To: Ashok Chauhan Cc: pgsql-admin@postgresql.org In-Reply-To: <1066635504.1265.22.camel@chi> References: <1066635504.1265.22.camel@chi> Content-Type: text/plain Organization: Message-Id: <1066635479.5961.38.camel@linuxbox> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 20 Oct 2003 09:37:59 +0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/221 X-Sequence-Number: 10782 > we have made 4 databases in postgresql, now we want to know how can be > recognize these database files in /var/lib/pgsql/data/base. Execute this query: select datname, datid from pg_stat_database; Bye, Chris.