pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Hiltibidal <rob@y2k.state.il.us>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Data Migration
Date: Wed, 01 Dec 1999 11:35:40 -0500
Message-ID: <24897.944066140@sss.pgh.pa.us> (raw)
In-Reply-To: <3.0.6.32.19991201100232.0095ea20@y2k.state.il.us>

Robert Hiltibidal <rob@y2k.state.il.us> writes:
> I have unique tables in crossover i want to migrate over to crbak. Can this
> be done thru SQL?

No; in Postgres, different databases are different universes ... and
there are no wormholes in SQL ;-).

Use pg_dump with -t to dump out the table(s) you want from the one
database, and then load the resulting script into the other.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <24897.944066140@sss.pgh.pa.us>
Permalink:  ../24897.944066140@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24897.944066140@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rob@y2k.state.il.us
  Subject: Re: [INTERFACES] Data Migration
  In-Reply-To: <24897.944066140@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox