Fri Nov 13 02:01:33 PST 2009
- Previous message: [Slony1-general] "duplicate key violates unique constraint" erro in slon.log
- Next message: [Slony1-general] "duplicate key violates unique constraint" erro in slon.log
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2009-11-12 at 17:26 +0100, Vick Khera wrote: > Do you have triggers on the slave? Did you alter *any* tables without > using the proper EXECUTE SCRIPT functionality? > > I'll vote that you (or someone else) did. > > Fix: drop the table in question from slony, and re-add it. For good > measure, run EXECUTE SCRIPT on an empty script to ensure that > everything gets re-set properly, too. Just as additional input: I have seen this with postgres 8.2.4 and slony 1.2.16 too, immediately after the initial sync... there was only one (fairly big, in the 10^10th rows and 100s of GB order of magnitude) table, and it was most definitely not altered. After upgrading to slony 1.2.17 it did work - but maybe the upgrade is not the real problem, but some other race condition in the slony/postgres code. Cheers, Csaba.
- Previous message: [Slony1-general] "duplicate key violates unique constraint" erro in slon.log
- Next message: [Slony1-general] "duplicate key violates unique constraint" erro in slon.log
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list