Jim Archer jim
Tue Sep 6 21:32:37 PDT 2005
Hi All...

Over the weekend, I was playing with Slony.  I noticed that if I try to
modify a data table on a slave node I get an error, which is good.  I also
noticed, however, that I can call nextval() against a sequence and get the
next value.

Afte doing this I added a record to the master, which populated a column
with the next sequence value, and the record replicated with the value
from the master.

I am guessing when I reconfigure the cluster do the slave becomes the
origin that the sequence will pick up at its value after my call to
nextval(), but I am also thinking this is harmless, unless there is an
issue with my code.  Is this all correct?




More information about the Slony1-general mailing list