[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-admin
Subject:    Re: [ADMIN] Copy to another server
From:       Bruno Wolff III <bruno () wolff ! to>
Date:       2006-09-30 2:56:41
Message-ID: 20060930025641.GA8973 () wolff ! to
[Download RAW message or body]

On Fri, Sep 29, 2006 at 10:41:33 -0300,
  "Sistemas C.M.P." <sistemascmp@redynet4.com.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.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic