pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Craig James <craig_james@emolecules.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgresql 8.4 replication using Londiste
Date: Tue, 16 Aug 2011 00:50:18 +0200
Message-ID: <m21uwms311.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <4DEFDB81.8060003@emolecules.com>
References: <4DEFD00C.8030600@nasa.gov>
	<4DEFDB81.8060003@emolecules.com>

Craig James <craig_james@emolecules.com> writes:
> On the other hand, I've noticed that Londiste doesn't know when you change a
> table.  You might be able to create your one-column table (plus PK), start
> replication with Londiste, then do ALTER TABLE to add the rest of the
> columns.  A hack for sure.

And it stopped working somewhere in the 2.1 branch, I would guess by
2.1.9 from memory.  Now the trigger notices when you ALTER TABLE and
will queue events with the new columns by itself.  Well, that might also
depend on which trigger you use, but the default one is now smart
enough.

Skytools3 ahead! :)

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



view thread (4+ messages)

Message-ID: <m21uwms311.fsf@2ndQuadrant.fr>
Permalink:  ../m21uwms311.fsf@2ndQuadrant.fr/
Also on:    postgresql.org/message-id/m21uwms311.fsf@2ndQuadrant.fr

 · 

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-admin@postgresql.org
  Cc: dimitri@2ndQuadrant.fr, craig_james@emolecules.com
  Subject: Re: Postgresql 8.4 replication using Londiste
  In-Reply-To: <m21uwms311.fsf@2ndQuadrant.fr>

* 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