Thu Mar 2 11:03:01 PST 2006
- Previous message: [Slony1-commit] By wieck: Automatically switch log tables every Sunday at 2am, if the
- Next message: [Slony1-commit] By cbbrowne: Add in README.Unicode that warns of Unicode issues between
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Fix typo in DDL for created table (primay -> primary)
It only executes when an upgrade is done, so it's not detected under
normal circumstances.
Modified Files:
--------------
slony1-engine/src/backend:
slony1_funcs.sql (r1.78 -> r1.79)
-------------- next part --------------
Index: slony1_funcs.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.78
retrieving revision 1.79
diff -Lsrc/backend/slony1_funcs.sql -Lsrc/backend/slony1_funcs.sql -u -w -r1.78 -r1.79
--- src/backend/slony1_funcs.sql
+++ src/backend/slony1_funcs.sql
@@ -654,6 +654,8 @@
end;
' language plpgsql;
+comment on function @NAMESPACE at .cleanupNodelock() is
+'Clean up stale entries when restarting slon';
-- ----------------------------------------------------------------------
-- FUNCTION registerNodeConnection (nodeid)
@@ -675,6 +677,9 @@
end;
' language plpgsql;
+comment on function @NAMESPACE at .registerNodeConnection (int4) is
+'Register (uniquely) the node connection so that only one slon can service the node';
+
-- ----------------------------------------------------------------------
-- FUNCTION initializeLocalNode (no_id, no_comment)
@@ -5592,7 +5597,7 @@
if p_old IN (''1.0.2'', ''1.0.5'', ''1.0.6'', ''1.1.0'', ''1.1.1'', ''1.1.2'', ''1.1.3'') then
-- Add new table sl_registry
execute ''create table @NAMESPACE at .sl_registry (
- reg_key text primay key,
+ reg_key text primary key,
reg_int4 int4,
reg_text text,
reg_timestamp timestamp
- Previous message: [Slony1-commit] By wieck: Automatically switch log tables every Sunday at 2am, if the
- Next message: [Slony1-commit] By cbbrowne: Add in README.Unicode that warns of Unicode issues between
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list