From: Richard Huxton <dev@archonet.com>
To: Rob Sargent <robjsargent@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Moving text columns, when it actually is large
Date: Thu, 09 Jul 2009 09:09:05 +0100
Message-ID: <4A55A5A1.7000005@archonet.com> (raw)
In-Reply-To: <4A550D5E.3020008@gmail.com>
References: <4A550D5E.3020008@gmail.com>
Rob Sargent wrote:
> I have to restructure some tables, coalescing common elements from three
> tables (sub-classes) into a single table (super-class). Each source
> table has a text field which actually gets stuffed with a largish (1Mb+)
> blob of xml.
>
> Is there any way to simply, um, er, transplant the pointer rather than
> actually copy the data?
If they are large-objects (stored via the lo_xxx interface) yes. If not,
no. I take it the large blob of xml is one of the fields that you are
classifying as common?
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, robjsargent@gmail.com
Subject: Re: Moving text columns, when it actually is large
In-Reply-To: <4A55A5A1.7000005@archonet.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