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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Copy to another server



On Fri, Sep 29, 2006 at 10:41:33 -0300,
  "Sistemas C.M.P." <sistemascmp(at)redynet4(dot)com(dot)ar> wrote:
> I need to select a group of records in one table, and then copy this group to similar table in another database and another server.
> How can I do this?

Long at using the dblink contrib module. If that isn't available
to you, then you can select the data into a temp table and use copy
to produce csv output (in 8.2 you will be able to skip the temp table
step) and then import the csv file into the other database.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group