pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: María Elena Hernández <mahelope@pereira.multi.net.co>
Cc: pgsql-sql@postgresql.org
Subject: Re: Get name of columns in a table
Date: Tue, 31 Jul 2001 15:54:15 +0100
Message-ID: <3B66C697.FF4EC81B@archonet.com> (raw)
References: <000001c11765$91adb260$82a431ce@hector2>

María Elena Hernández wrote:
> 
To get a list of columns, run "psql -E" and do a standard "\df foo"
where foo is your table name. This will show you exactly how PG does it.
I've found this very useful with all the backslash commands.

HTH

- Richard Huxton



view thread (3+ messages)

Message-ID: <3B66C697.FF4EC81B@archonet.com>
Permalink:  ../3B66C697.FF4EC81B@archonet.com/
Also on:    postgresql.org/message-id/3B66C697.FF4EC81B@archonet.com

 · 

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: dev@archonet.com, mahelope@pereira.multi.net.co
  Subject: Re: Get name of columns in a table
  In-Reply-To: <3B66C697.FF4EC81B@archonet.com>

* 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