pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sam Mason <sam@samason.me.uk>
To: pgsql-sql@postgresql.org
Subject: Re: Table definition
Date: Tue, 16 Nov 2004 15:29:23 +0000
Message-ID: <20041116152923.GY25775@sam.samason.me.uk> (raw)
In-Reply-To: <02ac01c4cbe5$2effc580$5d00a8c0@BRUNO2500>
References: <02ac01c4cbe5$2effc580$5d00a8c0@BRUNO2500>

Bruno Prévost wrote:
>Anybody know how to obtain the table definition in text.

Not quite sure if this is quite what you're after, but would:

  $ pg_dump -st foo

help at all?  It gives out the SQL that you would need to enter to
re-create the table.


  Sam



view thread (7+ messages)  latest in thread

Message-ID: <20041116152923.GY25775@sam.samason.me.uk>
Permalink:  ../20041116152923.GY25775@sam.samason.me.uk/
Also on:    postgresql.org/message-id/20041116152923.GY25775@sam.samason.me.uk

 · 

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: sam@samason.me.uk
  Subject: Re: Table definition
  In-Reply-To: <20041116152923.GY25775@sam.samason.me.uk>

* 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