X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A3026D1E8FB for ; Mon, 1 Mar 2004 20:58:32 +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 91585-09 for ; Mon, 1 Mar 2004 16:58:29 -0400 (AST) Received: from mail-00.rni.net (mail-00.rni.net [64.158.128.147]) by svr1.postgresql.org (Postfix) with ESMTP id A9651D1D2BA for ; Mon, 1 Mar 2004 16:58:25 -0400 (AST) Received: from cox.net (unknown.rni.net [64.158.131.52] (may be forged)) by mail-00.rni.net (8.11.2/8.11.2) with ESMTP id i21L37205479 for ; Mon, 1 Mar 2004 14:03:07 -0700 Message-ID: <4043A3ED.3080102@cox.net> Date: Mon, 01 Mar 2004 13:58:21 -0700 From: "D. Wokan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: get list of databases and tables in Postgres References: <404317E9.2050004@chen.be> <000c01c3ff82$1aa1d270$0100a8c0@MAJOLEE1> <007801c3ff99$b29452d0$8c01a8c0@entropy> In-Reply-To: <007801c3ff99$b29452d0$8c01a8c0@entropy> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/5 X-Sequence-Number: 2604 Chris Boget wrote: >>select datname from pg_database; > Or simply: > \d > unless I'm missing something... > Chris Would PGSQL respond to that as a query? -- D. Wokan