From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: Pgsql-sql@postgresql.org, Pgsql-General <pgsql-general@postgresql.org>
Subject: How do I copy part of table from db1 to db2 (and rename the columns)?
Date: Wed, 31 Aug 2005 12:00:30 +0200
Message-ID: <1125482430.9456.6.camel@Panoramix> (raw)
Hi,
I want to copy several columns of a source table from db1 to db2, and
create the target table and rename the columns in the process.
Is that possible in PostgresQL? If so, an example or url for such a
command /script would be appreciated...
TIA
Joost
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: J.Kraaijeveld@Askesis.nl, pgsql-general@postgresql.org
Subject: Re: How do I copy part of table from db1 to db2 (and rename the columns)?
In-Reply-To: <1125482430.9456.6.camel@Panoramix>
* 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