pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Moving text columns, when it actually is large
Date: Wed, 08 Jul 2009 15:19:26 -0600
Message-ID: <4A550D5E.3020008@gmail.com> (raw)

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?

Ever hopeful,
rjs



view thread (2+ messages)  latest in thread

Message-ID: <4A550D5E.3020008@gmail.com>
Permalink:  ../4A550D5E.3020008@gmail.com/
Also on:    postgresql.org/message-id/4A550D5E.3020008@gmail.com

 · 

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-sql@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: Moving text columns, when it actually is large
  In-Reply-To: <4A550D5E.3020008@gmail.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