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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Travers | 2011-08-15 22:57:03 | Re: Using Postgresql as application server |
Previous Message | Darren Duncan | 2011-08-15 22:47:36 | Re: Using Postgresql as application server |