Fri Aug 16 06:27:53 PDT 2013
- Previous message: [Slony1-commit] Slony-I-commit release notes update for PG 9.3
- Next message: [Slony1-commit] Slony-I-commit Allow the apply trigger to work (ie not fail) on sl_log_
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
bug 304 - record sequence values as part of a EXECUTE_SCRIPT Prior to 2.2 the EXECUTE_SCRIPT command result in a DDL_SCRIPT event and a SYNC event generated as part of the same transaction. That SYNC event also replicates the value of any sequences to the replica before the DDL SCRIPT command. In 2.2 the DDL script is replicated as part of a normal SYNC as rows in sl_log_script. This commit stores any sequence changes as extra elements in the cmdargs array. These sequence values are then set before the DDL_SCRIPT is executed on the replica This commit includes a unit test change to reproduce this issue the test now passes Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=94521f91ae32c129ebb28ca0b4ca4fcabb2bbc00 Modified Files -------------- clustertest/regression/testddl/init_schema.sql | 10 +++ clustertest/regression/testddl/testddl.js | 35 ++++++++ doc/adminguide/ddlchanges.sgml | 14 ++++ src/backend/slony1_base.sql | 1 - src/backend/slony1_funcs.c | 107 ++++++++++++++++++++++-- src/backend/slony1_funcs.sql | 65 ++++++++++++-- 6 files changed, 214 insertions(+), 18 deletions(-)
- Previous message: [Slony1-commit] Slony-I-commit release notes update for PG 9.3
- Next message: [Slony1-commit] Slony-I-commit Allow the apply trigger to work (ie not fail) on sl_log_
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list