Re: [GENERAL] listing all tables

From: Fandarel <fandarel(at)mail(dot)solisys(dot)com>
To: "Ryan Mchale" <sdecoop2(at)nortel(dot)ca>, <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] listing all tables
Date: 1998-07-16 18:50:39
Message-ID: 199807161851.OAA25429@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> How would I list all tables in a database?

You can list all tables with:

select * from pg_class;

but that will give you system tables also.

I think that if you use the \z command in psql, it will give you a list
of all tables in the current database.

Matt

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Summer 1998-07-16 21:15:21 Re: [GENERAL] COALESCE() or NVL()
Previous Message Fandarel 1998-07-16 18:47:54 Tables with oid