pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway (wwc) <jconway@cox.net>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: \d command
Date: Tue, 22 Jan 2002 07:55:17 -0800
Message-ID: <3C4D8B65.8080706@cox.net> (raw)
References: <00ff01c1a35b$501b4380$de138f80@virginia.edu>

Jodi Kanter wrote:

> Can anyone tell me the sql that is being sent to the database when 
> typeing this command? I am working on writing some code that will show a 
> list of columns in a table. Is there a describe statement?
> 
> Thanks
> 
> Jodi Kanter


Start up psql with the -E switch. It will then show you all the internal 
sql statements that it uses.

HTH,

Joe






view thread (3+ messages)  latest in thread

Message-ID: <3C4D8B65.8080706@cox.net>
Permalink:  ../3C4D8B65.8080706@cox.net/
Also on:    postgresql.org/message-id/3C4D8B65.8080706@cox.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jconway@cox.net, jkanter@virginia.edu
  Subject: Re: \d command
  In-Reply-To: <3C4D8B65.8080706@cox.net>
  References: <00ff01c1a35b$501b4380$de138f80@virginia.edu> <3C4D8B65.8080706@cox.net>

* 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