Re: Copying data - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: Copying data
Date
Msg-id 20020211134938.GC3472@wolff.to
Whole thread Raw
In response to Copying data  (Madelon Brennan <brennanm@georgetown.edu>)
List pgsql-admin
On Mon, Feb 11, 2002 at 01:15:26PM +0000,
  Madelon Brennan <brennanm@georgetown.edu> wrote:
> What is the syntax for copying data from one database to another. I
> would like to take the data from my most current database and copy all
> of the data to my test environment.
> Thanks.

One way to do this is with pg_dump. Something like:
pg_dump database_name > dumpfile
psql test_name < dumpfile

pgsql-admin by date:

Previous
From: "anjo.doce.marilia"
Date:
Subject: Permissions on FUNCTIONS
Next
From: "Marco Tulio"
Date:
Subject: History Keys fault