Re: Postgresql 8.4 replication using Londiste - Mailing list pgsql-admin

From Dimitri Fontaine
Subject Re: Postgresql 8.4 replication using Londiste
Date
Msg-id m21uwms311.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Postgresql 8.4 replication using Londiste  (Craig James <craig_james@emolecules.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Using Postgresql as application server
Next
From: Venkat Balaji
Date:
Subject: Re: Postgresql 9.0.1 installation error