Jan Wieck JanWieck at Yahoo.com
Thu Feb 16 07:18:45 PST 2012
Change format of the sl_log_1/2 tables so that they contain the
table name and schema as separate fields. Change the column names and
values from a rudimentary SQL statement into a text array.

Change the transport to use COPY protocol and move the part that does
the updates to user tables into a trigger that fires on sl_log_1/2.

Move DDL from sl_event into a separate sl_log_script table that is
pulled into the log selection so that schema changes flow at the
correct time in between data updates, not as separate events.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=88cbcd18e54263196012a66aa66b8f0a7da519a8

Modified Files
--------------
src/backend/.gitignore       |    1 +
src/backend/slony1_base.sql  |   56 +-
src/backend/slony1_funcs.c   | 1273 +++++++++++++++++++-------
src/backend/slony1_funcs.sql |  586 +++++++++----
src/slon/confoptions.c       |   24 -
src/slon/confoptions.h       |    2 -
src/slon/remote_worker.c     | 2074 ++++++++++++++----------------------------
src/slon/runtime_config.c    |   58 ++
src/slon/slon.c              |   13 +-
src/slon/slon.h              |    5 +-
src/slonik/parser.y          |    9 +-
src/slonik/slonik.c          |   89 +-
src/slonik/slonik.h          |    3 +-
13 files changed, 2184 insertions(+), 2009 deletions(-)



More information about the Slony1-commit mailing list