pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lee Harr <missive@frontiernet.net>
To: pgsql-sql@postgresql.org
Subject: Re: sql statement to give functionality of \d tablename?
Date: Thu, 22 Aug 2002 23:14:53 +0000 (UTC)
Message-ID: <ak3r9d$2avn$2@news.hub.org> (raw)
References: <1030007114.22469.0@iris.uk.clara.net>

In article <1030007114.22469.0@iris.uk.clara.net>, Philip Rudling wrote:
> Is the an SQL statement that can be used from within a program that will
> give the output of \d command?  Like the describe command in MySQL's version
> of SQL?
> 


There is a flag to psql which will show you the sql from the
backslash commands. I believe it is -E, but check the manpage.




view thread (2+ messages)

Message-ID: <ak3r9d$2avn$2@news.hub.org>
Permalink:  ../ak3r9d$2avn$2@news.hub.org/
Also on:    postgresql.org/message-id/ak3r9d$2avn$2@news.hub.org

 · 

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: missive@frontiernet.net
  Subject: Re: sql statement to give functionality of \d tablename?
  In-Reply-To: <ak3r9d$2avn$2@news.hub.org>

* 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