Skip site navigation (1) Skip section navigation (2)

Re: Postgresql 8.4 replication using Londiste

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Craig James <craig_james(at)emolecules(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgresql 8.4 replication using Londiste
Date: 2011-08-15 22:50:18
Message-ID: m21uwms311.fsf@2ndQuadrant.fr (view raw or flat)
Thread:
Lists: pgsql-admin
Craig James <craig_james(at)emolecules(dot)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

In response to

pgsql-admin by date

Next:From: Chris TraversDate: 2011-08-15 22:57:03
Subject: Re: Using Postgresql as application server
Previous:From: Darren DuncanDate: 2011-08-15 22:47:36
Subject: Re: Using Postgresql as application server

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group