pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ian Barwick <barwick@gmx.net>
To: Steve Brett <SBrett@e-mis.com>
To: Pgsql-Sql (E-mail) <pgsql-sql@postgresql.org>
Subject: Re: list of tables ?
Date: Thu, 11 Jul 2002 16:09:41 +0200
Message-ID: <E17SeeP-0003Q9-00@lubitsch.akademie.de> (raw)
In-Reply-To: <C05E7DA1218ED411BF8A00105AC95A8E05B0F6C5@sv-cntrmail.emis.local>
References: <C05E7DA1218ED411BF8A00105AC95A8E05B0F6C5@sv-cntrmail.emis.local>

On Thursday 11 July 2002 16:00, Steve Brett wrote:
> can anyone point me in the right direction ?
>
> i need to list all the tables in a database.
>
> i've looked at pgadmin_tables which is empty and pga_schema whihc contains
> a sinlge row i don't want to parse ...
>
> is there an easier way t get a list of tables ?

Start psql with the -E option and issue \dt

This gives you the statement(s) used internally by psql.


Ian Barwick




view thread (9+ messages)  latest in thread

Message-ID: <E17SeeP-0003Q9-00@lubitsch.akademie.de>
Permalink:  ../E17SeeP-0003Q9-00@lubitsch.akademie.de/
Also on:    postgresql.org/message-id/E17SeeP-0003Q9-00@lubitsch.akademie.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: barwick@gmx.net, SBrett@e-mis.com
  Subject: Re: list of tables ?
  In-Reply-To: <E17SeeP-0003Q9-00@lubitsch.akademie.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox