pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: missive@frontiernet.net
To: pgsql-admin@postgresql.org
Subject: Re: psql option for writing schema
Date: Sat, 1 Dec 2001 23:38:17 +0000 (UTC)
Message-ID: <9ubpl9$196u$1@news.tht.net> (raw)
References: <f40d3195.0111301052.7dea1016@posting.google.com>

On 30 Nov 2001 10:52:26 -0800, Tony Reina <reina@nsi.edu> wrote:
> I seem to remember a psql option that dumped out the table schema. I
> can't seem to find it in the man for psql. Could someone point out the
> option to me?
> 

In psql \? is your friend.

Probably what you want is \d tableName




view thread (3+ messages)  latest in thread

Message-ID: <9ubpl9$196u$1@news.tht.net>
Permalink:  ../9ubpl9$196u$1@news.tht.net/
Also on:    postgresql.org/message-id/9ubpl9$196u$1@news.tht.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: missive@frontiernet.net
  Subject: Re: psql option for writing schema
  In-Reply-To: <9ubpl9$196u$1@news.tht.net>
  References: <f40d3195.0111301052.7dea1016@posting.google.com> <9ubpl9$196u$1@news.tht.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