Received: from jupiter.hub.org (jupiter.hub.org [64.49.215.5]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1IKgZE32724 for ; Mon, 18 Feb 2002 15:42:35 -0500 (EST) (envelope-from news@jupiter.hub.org) Received: (from news@localhost) by jupiter.hub.org (8.11.6/8.11.6) id g1IKPw739065 for pgsql-sql@postgresql.org; Mon, 18 Feb 2002 14:25:58 -0600 (CST) (envelope-from news) From: "Rolf Hug" X-Newsgroups: comp.databases.postgresql.sql Subject: Re: all tables in a DB\? Date: Mon, 18 Feb 2002 21:28:15 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 23 Message-ID: References: Reply-To: "Rolf Hug" X-Complaints-To: news@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-sql@postgresql.org X-Archive-Number: 200202/281 X-Sequence-Number: 6704 Hi Try the following SQL-Command: SELECT relname FROM pg_class WHERE relname NOT LIKE 'pg_%'; In the table 'pg_class' you will find all tables created in the database. Also the system-tables called pg_... (like pg_class). greetings rolf "D'laila Pereira" schrieb im Newsbeitrag news:Xh2c8.20270$tg4.228609@vixen.cso.uiuc.edu... > What SQL command can I issue in Postgresql to list all the tables in a > database? > > > >