CVS User Account cvsuser
Thu Jan 5 07:57:29 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.

Tags:
----
REL_1_1_STABLE

Modified Files:
--------------
    slony1-engine/tools:
        slony1_dump.sh (r1.1.2.3 -> r1.1.2.4)

-------------- next part --------------
Index: slony1_dump.sh
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/slony1_dump.sh,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -Ltools/slony1_dump.sh -Ltools/slony1_dump.sh -u -w -r1.1.2.3 -r1.1.2.4
--- tools/slony1_dump.sh
+++ tools/slony1_dump.sh
@@ -126,6 +126,14 @@
 	return p_seq_id;
 end;
 ' language plpgsql;
+-- ---------------------------------------------------------------------------------------
+-- FUNCTION finishTableAfterCopy(table_id)
+-- ---------------------------------------------------------------------------------------
+-- This can just be a simple stub function; it does not 
+-- ---------------------------------------------------------------------------------------
+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)



More information about the Slony1-commit mailing list