Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-sql by date

Next:From: Bruno PrévostDate: 2004-11-16 15:40:03
Subject: Re: Table definition
Previous:From: Peter EisentrautDate: 2004-11-16 15:16:48
Subject: Re: Table definition

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group