From: Kenneth Gonsalves <lawgon@thenilgiris.com>
To: pgsql-sql@postgresql.org
Subject: Re: How do I copy part of table from db1 to db2 (and rename the columns)?
Date: Wed, 31 Aug 2005 15:45:49 +0530
Message-ID: <200508311545.49846.lawgon@thenilgiris.com> (raw)
In-Reply-To: <1125482430.9456.6.camel@Panoramix>
References: <1125482430.9456.6.camel@Panoramix>
On Wednesday 31 Aug 2005 3:30 pm, Joost Kraaijeveld wrote:
> 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...
checkout dblink
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
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: lawgon@thenilgiris.com
Subject: Re: How do I copy part of table from db1 to db2 (and rename the columns)?
In-Reply-To: <200508311545.49846.lawgon@thenilgiris.com>
* 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