"lou fridkis" <lfridkis(at)earthlink(dot)net> writes:
> The problem is that the values for loutest1_lou_id_seq are different
> after the test:
This is expected. The slave may have a larger value than the primary.
It's because of the way that WAL logging for nextval() works.
regards, tom lane