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: (view raw, whole thread or download thread mbox)
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.


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-2017 The PostgreSQL Global Development Group