CVS User Account cvsuser
Mon Jan 10 17:06:24 PST 2005
Log Message:
-----------
Have a sequence parameter, $SEQUENCE_ID, to manage sequence IDs just like $TABLE_ID does for tables

Modified Files:
--------------
    slony1-engine/tools/altperl:
        README (r1.7 -> r1.8)
        slon.env (r1.6 -> r1.7)

-------------- next part --------------
Index: slon.env
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon.env,v
retrieving revision 1.6
retrieving revision 1.7
diff -Ltools/altperl/slon.env -Ltools/altperl/slon.env -u -w -r1.6 -r1.7
--- tools/altperl/slon.env
+++ tools/altperl/slon.env
@@ -37,8 +37,10 @@
   require $ENV{"SLONYSET"};
 } else {
 
-  # Table Numbering - controlled here...
+  # Table and Sequence Numbering - controlled here...
   $TABLE_ID=1;
+  $SEQUENCE_ID=1;
+
   # These are the tables that already have primary keys, that therefore do
   # not need for Slony-I to add sequences/indices
   @PKEYEDTABLES=(
Index: README
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/README,v
retrieving revision 1.7
retrieving revision 1.8
diff -Ltools/altperl/README -Ltools/altperl/README -u -w -r1.7 -r1.8
--- tools/altperl/README
+++ tools/altperl/README
@@ -56,6 +56,7 @@
 Perl variables:
 
   $TABLE_ID - where to start numbering table IDs
+  $SEQUENCE_ID - where to start numbering sequence IDs
 
    The table IDs are required to be unique across all sets in a
    Slony-I cluster, so if you add extra sets, you need to set


More information about the Slony1-commit mailing list