pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedsql statement to give functionality of \d tablename?
2+ messages / 2 participants
[nested] [flat]
* sql statement to give functionality of \d tablename?
@ 2002-08-22 09:03 Philip Rudling <psr@clara.net>
0 siblings, 1 reply; 2+ messages in thread
From: Philip Rudling @ 2002-08-22 09:03 UTC (permalink / raw)
To: pgsql-sql
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?
SR
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: sql statement to give functionality of \d tablename?
@ 2002-08-22 23:14 Lee Harr <missive@frontiernet.net>
parent: Philip Rudling <psr@clara.net>
0 siblings, 0 replies; 2+ messages in thread
From: Lee Harr @ 2002-08-22 23:14 UTC (permalink / raw)
To: pgsql-sql
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-08-22 23:14 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 09:03 sql statement to give functionality of \d tablename? Philip Rudling <psr@clara.net>
2002-08-22 23:14 ` Lee Harr <missive@frontiernet.net>
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