Tue Apr 12 13:22:09 PDT 2011
- Previous message: [Slony1-commit] Slony-I-commit No value in having pre_event_create() function... That
- Next message: [Slony1-commit] Slony-I-commit Bug #196 - snapshot id values appear to travel backwards
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Add sl_event_lock table that is what gets locked to prevent mis-serialization of creation of sl_event entries. Add pre_event_create() function that takes out that lock which will be called by anything that does an event create. Add code to upgrade schema function which creates sl_event_lock if it is missing. Slon SYNC thread needs to call pre_event_create() before calling createEvent(). Various functions for slonik actions call pre_event_create() before calling createEvent(). Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=9d094283c786b5dcf69c25b49acb920aedf6b174 Modified Files -------------- src/backend/slony1_base.sql | 14 ++++++++++++++ src/backend/slony1_funcs.sql | 15 +++++++++++++++ src/slon/sync_thread.c | 3 ++- src/slonik/slonik.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+), 1 deletions(-)
- Previous message: [Slony1-commit] Slony-I-commit No value in having pre_event_create() function... That
- Next message: [Slony1-commit] Slony-I-commit Bug #196 - snapshot id values appear to travel backwards
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list