Re: Table definition

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Table definition
Date: 2004-11-16 15:29:23
Message-ID: 20041116152923.GY25775@sam.samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Prévost 2004-11-16 15:40:03 Re: Table definition
Previous Message Peter Eisentraut 2004-11-16 15:16:48 Re: Table definition