Received: from il.linuxqa.com ([212.199.118.82]) by postgresql.org (8.11.3/8.11.4) with SMTP id g0G8AJV34314 for ; Wed, 16 Jan 2002 03:10:19 -0500 (EST) (envelope-from romio@il.aduva.com) Received: (qmail 29523 invoked from network); 16 Jan 2002 08:05:48 -0000 Received: from romio.linuxqa.com (HELO il.aduva.com) (10.0.0.20) by il.linuxqa.com with SMTP; 16 Jan 2002 08:05:48 -0000 Message-ID: <3C45352D.D95F430@il.aduva.com> Date: Wed, 16 Jan 2002 10:09:17 +0200 From: Roman Gavrilov Reply-To: romio@il.aduva.com Organization: Aduva Ltd. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: David Stanaway CC: pgsql-admin@postgresql.org Subject: Re: Monitoring database References: <51E20ECE-0A07-11D6-BE62-0003930FDAB2@netventures.com.au> Content-Type: multipart/alternative; boundary="------------79E1472153B68AA771708164" X-Archive-Number: 200201/100 X-Sequence-Number: 2987 --------------79E1472153B68AA771708164 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Yes I would like to see system tables, that is correct is there any way to see all those tables. For example in MySQL there is mysql database where you have all system tables. David Stanaway wrote: > On Tuesday, January 15, 2002, at 07:08 PM, Roman Gavrilov wrote: > > David Stanaway wrote: > > On Wednesday, January 9, 2002, at 10:31 PM, Roman Gavrilov wrote: > > One more question is how can I see all tables in the template1 ? > Thanks allot. > > in the psql client: psql template1 > \dt > \h is definately worth reading too. > > > Did you try that ? > I get "No relations found" is it a problem or template1 tables are protected some how and not shown in \dt > > What relations are you looking for? System tables? They don't show up in \dt That just lists user tables. > There are a number of \d commands in psql for different types of relations, you should look at \? (Sorry I said \h and thats for SQL help) to see all the psql escapes. > > ============================== > David Stanaway > Personal: david@stanaway.net > Work: david@netventures.com.au -- ----------------------------------------------------------------------------- Roman Gavrilov Aduva Inc., Web Development Services. work +972-3-7534324 mobile +972-54-834668 romio@aduva.com, romio@netvision.net.il --------------79E1472153B68AA771708164 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Yes I would like to see system tables, that is correct is there any way to see all those tables.
For example in MySQL there is mysql database where you have all system tables.

David Stanaway wrote:

On Tuesday, January 15, 2002, at 07:08 PM, Roman Gavrilov wrote:

          David Stanaway wrote:

          On Wednesday, January 9, 2002, at 10:31 PM, Roman Gavrilov wrote:

                    One more question is how can I see all tables in the template1 ?
                    Thanks allot.

          in the psql client: psql template1
          \dt
          \h is definately worth reading too.
 

     Did you try that ?
     I get  "No relations found" is it a problem or template1 tables are protected some how and not shown in \dt

What relations are you looking for? System tables? They don't show up in \dt That just lists user tables.
There are a number of \d<X> commands in psql for different types of relations, you should look at \? (Sorry I said \h and thats for SQL help) to see all the psql escapes.

==============================
David Stanaway
Personal: david@stanaway.net
Work: david@netventures.com.au

-- 
-----------------------------------------------------------------------------
 Roman Gavrilov                           
 Aduva Inc., Web Development Services.    
 work +972-3-7534324 mobile +972-54-834668
 romio@aduva.com, romio@netvision.net.il
  --------------79E1472153B68AA771708164--