Re: Export a database or a table from a database

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Stefan Kowalski <Stefan(dot)Kowalski(at)ixtra(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Export a database or a table from a database
Date: 2002-03-06 12:49:04
Message-ID: 1015418944.1405.186.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2002-03-06 at 11:43, Stefan Kowalski wrote:
> Hello,
>
> I want to export a database or a table from a database.
> There is a possibility the copy the data from the table, but
> I need the whole structure include the data.

pg_dump -d database [-t table]

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C

"The LORD is my light and my salvation; whom shall I
fear? the LORD is the strength of my life; of whom
shall I be afraid?" Psalms 27:1

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Michel POURE 2002-03-06 13:00:02 Re: Export a database or a table from a database
Previous Message Jeff Anto 2002-03-06 12:36:36 pbs with pg_dump