pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Witney <awitney@sghms.ac.uk>
To: alviN <gamboa@infophil.com>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: SQL list table names
Date: Tue, 07 Jan 2003 11:03:15 +0000
Message-ID: <BA406473.EB6D%a.witney@sghms.ac.uk> (raw)
In-Reply-To: <3E1AB00F.1040207@infophil.com>


If you start psql like so

psql -E

Then all the SQL behind the \d type commands is displayed for you.

adam


> is it possible to execute an sql query to be able to list the tables's
> names?
> well, you can do it on psql using \dt. but im talking about the SQL
> statement, because i want to execute that query from a script.
> 
> thanks.
> 
> 
> 
> alviN
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




view thread (4+ messages)  latest in thread

Message-ID: <BA406473.EB6D%a.witney@sghms.ac.uk>
Permalink:  ../BA406473.EB6D%25a.witney@sghms.ac.uk/
Also on:    postgresql.org/message-id/BA406473.EB6D%a.witney@sghms.ac.uk

 · 

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: awitney@sghms.ac.uk, gamboa@infophil.com
  Subject: Re: SQL list table names
  In-Reply-To: <BA406473.EB6D%a.witney@sghms.ac.uk>

* 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