Received: from sysadmin.chi.wdr.com (sysadmin.chi.ubswarburg.com [146.180.1.66]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eA1G62l69413 for ; Wed, 1 Nov 2000 11:06:02 -0500 (EST) (envelope-from devin@sysadmin.chi.wdr.com) Received: from devin by sysadmin.chi.wdr.com with local (Exim 3.12 #2) id 13r0OU-0001hp-00; Wed, 01 Nov 2000 10:05:42 -0600 Date: Wed, 1 Nov 2000 10:05:32 -0600 (CST) From: Tod McQuillin X-Sender: devin@sysadmin To: magnus cc: "pgsql-php@postgresql.org" Subject: Re: listing databases In-Reply-To: <3A0030A1.81831A88@asa.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200011/7 X-Sequence-Number: 15 On Wed, 1 Nov 2000, magnus wrote: > Hello, > Can anyone tell me how to list (1.) databases and (2.) tables in a > database using php? To list databases, run psql -l from your unix shell prompt. Once connected, enter \dt to list the tables. -- Tod McQuillin