CVS User Account cvsuser
Thu Jan 5 07:59:20 PST 2006
Log Message:
-----------
Add function  finishTableAfterCopy(table_id); this was added in the following
change, to slon; it needs to be in slony1_dump.sh as well.
<http://gborg.postgresql.org/pipermail/slony1-commit/2005-November/000813.html>

Note that the "prepareTableForCopy(table_id)" function is NOT passed on to
log shipping, so it does not need to be addressed.

Modified Files:
--------------
    slony1-engine/tools:
        slony1_dump.sh (r1.5 -> r1.6)

-------------- next part --------------
Index: slony1_dump.sh
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/slony1_dump.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -Ltools/slony1_dump.sh -Ltools/slony1_dump.sh -u -w -r1.5 -r1.6
--- tools/slony1_dump.sh
+++ tools/slony1_dump.sh
@@ -128,6 +128,15 @@
 ' language plpgsql;
 
 -- ---------------------------------------------------------------------------------------
+-- FUNCTION finishTableAfterCopy(table_id)
+-- ---------------------------------------------------------------------------------------
+-- This can just be a simple stub function; it does not need to do anything...
+-- ---------------------------------------------------------------------------------------
+create or replace function $clname.finishTableAfterCopy(int4) returns int4 as
+  'select 1'
+language sql;
+
+-- ---------------------------------------------------------------------------------------
 -- FUNCTION setsyncTracking_offline (seq_id, seq_origin, ev_seqno, sync_time)
 -- ---------------------------------------------------------------------------------------
 create or replace function $clname.setsyncTracking_offline(int4, int8, int8, timestamptz) returns int8



More information about the Slony1-commit mailing list