From: Fabio Ferrero <nutella@inwind.it>
To: pgsql-sql@postgresql.org
Subject: duplicate table in two databases
Date: Thu, 12 Aug 2004 15:42:40 +0200
Message-ID: <411B73D0.3080208@inwind.it> (raw)
I use postgres 7.2.1 (debian woody) and PHP.
I've two databases (foo and bar for example) with the same table (ie.
stamps).
It's possible with a single query transfer the data from the stamps
table in db foo to the stamps table in db bar?
Or I need a row by row copy? Or maybe a dump on temp file?
(with one db and two tables with the same record I can use INSERT INTO
foo SELECT * FROM bar).
Thanks.
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-sql@postgresql.org
Cc: nutella@inwind.it
Subject: Re: duplicate table in two databases
In-Reply-To: <411B73D0.3080208@inwind.it>
* 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