Received: from chapelperilous.net (chapelperilous.net [216.254.44.199]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0JBb9099203 for ; Fri, 19 Jan 2001 06:37:09 -0500 (EST) (envelope-from bmccoy@chapelperilous.net) Received: from localhost (bmccoy@localhost) by chapelperilous.net (8.9.3/8.9.3) with ESMTP id GAA24377; Fri, 19 Jan 2001 06:38:26 -0500 Date: Fri, 19 Jan 2001 06:38:26 -0500 (EST) From: "Brett W. McCoy" To: Matthew Taylor cc: Subject: Re: data dictionary In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200101/901 X-Sequence-Number: 3125 On Fri, 19 Jan 2001, Matthew Taylor wrote: > Umm I must have missed it in the manual, (read it 3-4 times tho) but what is > the equivalent data dictionary structure in Postgres to the following in > Oracle. > > Select table_name from user_tables; > > (gives a list of the table names in the database(table space) used at the > time) > > etc.... various special tables defining the data dictionary.... Take a look at pg_class and pg_tables (which is a view based on pg_class), which are available for each schema: select * from pg_tables where tableowner=CURRENT_USER; -- Brett http://www.chapelperilous.net/~bmccoy/ --------------------------------------------------------------------------- A woman without a man is like a fish without a bicycle. -- Gloria Steinem