X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3A036D1B46E for ; Thu, 18 Dec 2003 21:49:28 +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 91807-04 for ; Thu, 18 Dec 2003 17:48:41 -0400 (AST) Received: from localhost (limacorp.com [66.216.127.144]) by svr1.postgresql.org (Postfix) with SMTP id C2366D1B475 for ; Thu, 18 Dec 2003 17:48:38 -0400 (AST) Received: (qmail 22577 invoked by uid 506); 18 Dec 2003 21:48:40 -0000 Received: from unknown (HELO limacorp.com) (66.161.164.36) by garbanzo.limacorp.com with SMTP; 18 Dec 2003 21:48:40 -0000 Message-ID: <3FE2208B.6000301@limacorp.com> Date: Thu, 18 Dec 2003 16:47:55 -0500 From: Terry Hampton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Wolff III Cc: pgsql-admin@postgresql.org Subject: Re: [Fwd: Quick Question Please] References: <3FE2128E.8050808@limacorp.com> <20031218212133.GA28777@wolff.to> 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: 200312/267 X-Sequence-Number: 11773 Bruno, Excellent advise ! thanks to all, terry Bruno Wolff III wrote: > On Thu, Dec 18, 2003 at 15:48:14 -0500, > Terry Hampton wrote: > >> >> OOPS! This group is quick and sharp. >> I was not specific enough with my need. >> Sorry to clog your email. >> >> What is the SQL syntax to >> return table names programatically ? >> >> thanks again for a quick hand, >> Terry > > > If you run psql with the -E option and then do a \d tablename, the sql > used to calculate the response will be displayed. That sql would be the > right way to do what you want. > > -- Terry L. Hampton Program Manager LimaCorp, LLC. www.limacorp.com 513.587.1874