X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4F2CF534D6 for ; Sat, 23 Apr 2005 02:30:13 -0300 (ADT) 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 21251-01 for ; Sat, 23 Apr 2005 05:30:05 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id E2B8453576 for ; Sat, 23 Apr 2005 02:30:04 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j3N5U0OT035950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Apr 2005 23:30:02 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j3N5U011096693; Fri, 22 Apr 2005 23:30:00 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j3N5Txba096692; Fri, 22 Apr 2005 23:29:59 -0600 (MDT) (envelope-from mfuhr) Date: Fri, 22 Apr 2005 23:29:59 -0600 From: Michael Fuhr To: Veronica L Bounmixay Cc: pgsql-sql@postgresql.org Subject: Re: Coming from Oracle SQL Message-ID: <20050423052959.GB96630@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/352 X-Sequence-Number: 21245 On Tue, Apr 19, 2005 at 09:37:19AM -0600, Veronica L Bounmixay wrote: > > I have a dumb question to ask - as I'm certain all of my future ones will > be as well. I am coming from the Oracle SQL PL/SQL side of things and > trying to get wrapped around PostgreSQL. I used to find tables in Oracle > by using the following query and hoped to find a replacement. Better > would be someplace to reference these sorts of "key" tables, etc that keep > track of the indexes, tables, columns and more. > > select distinct table_name from all_tables; See the "System Catalogs" and "The Information Schema" chapters in the documentation. If you're using psql, see the "Meta-Commands" section in its documentation. -- Michael Fuhr http://www.fuhr.org/~mfuhr/