X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E48D48B9FFC; Tue, 15 Feb 2005 11:02:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25356-03; Tue, 15 Feb 2005 11:02:45 +0000 (GMT) Received: from smtp.pspl.co.in (smtp.persistent.co.in [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id A66518BA110; Tue, 15 Feb 2005 11:02:43 +0000 (GMT) Received: from ps0499.persistent.co.in (PS0499.intranet.pspl.co.in [192.168.10.204]) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j1FBDYRZ015392; Tue, 15 Feb 2005 16:43:35 +0530 From: Shridhar Daithankar To: Konstantin Danilov Subject: Re: How to view the list of tables? Date: Tue, 15 Feb 2005 16:34:39 +0530 User-Agent: KMail/1.7 Cc: pgsql-sql@postgresql.org, pgsql-general@postgresql.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502151634.39458.ghodechhap@ghodechhap.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.102 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/815 X-Sequence-Number: 73619 On Tuesday 15 Feb 2005 3:46 pm, Konstantin Danilov wrote: > Hello, list! > I need to view the list of tables in a database. In MySQL I can do it with > the command "SHOW TABLES". What about PostgreSQL? Can I also see somehow > the datatypes of tables' fields? In psql, you can try '\dt' and '\d table name'. Type \? for more commands.. Shridhar