From: | David Stanaway <david(at)netventures(dot)com(dot)au> |
---|---|
To: | romio(at)il(dot)aduva(dot)com, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Monitoring database |
Date: | 2002-01-15 22:29:20 |
Message-ID: | 51E20ECE-0A07-11D6-BE62-0003930FDAB2@netventures.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)stanaway(dot)net
Work: david(at)netventures(dot)com(dot)au
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-01-16 05:42:52 | Re: VACUUM ANALYZE--how often? |
Previous Message | Mirek Hankus | 2002-01-15 20:53:34 | problems with pg_dump/pg_restore |