Re: Help to dump tables in a database and restore in another database - Mailing list pgsql-novice

From Andreas Kretschmer
Subject Re: Help to dump tables in a database and restore in another database
Date
Msg-id 20091018055614.GA5962@tux
Whole thread Raw
In response to Re: Help to dump tables in a database and restore in another database  (Joshua Tolley <eggyknap@gmail.com>)
Responses Re: Help to dump tables in a database and restore in another database  (Intengu Technologies <sindile.bidla@gmail.com>)
List pgsql-novice
Joshua Tolley <eggyknap@gmail.com> wrote:

> On Fri, Oct 16, 2009 at 09:38:44AM +0200, Intengu Technologies wrote:
> > I would like to dump a number of tables from a database and load them
> > on another database. How do I accomplish this.
>
> pg_dump makes this easy. Documentation is here:
> http://www.postgresql.org/docs/8.4/static/app-pgdump.html

Right, additionally, pg_dump has options to specify only destined
tables, views, sequence, schemas etc. to dump.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

pgsql-novice by date:

Previous
From: Joshua Tolley
Date:
Subject: Re: Help to dump tables in a database and restore in another database
Next
From: Frank Bax
Date:
Subject: Re: Synch to Database with same schema.