Wed Apr 13 21:39:36 PDT 2005
- Previous message: [Slony1-commit] By cbbrowne: Temporary resolution to bug #1226 - if you ask to subscribe
- Next message: [Slony1-commit] By cbbrowne: Address synchronization problem where a MOVE_SET event may
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Address bug #1226 If a set contains no tables, then warn the user that they may run afoul of bug #1226. Tags: ---- REL_1_0_STABLE Modified Files: -------------- slony1-engine/src/backend: slony1_funcs.sql (r1.15.2.13 -> r1.15.2.14) -------------- next part -------------- Index: slony1_funcs.sql =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.sql,v retrieving revision 1.15.2.13 retrieving revision 1.15.2.14 diff -Lsrc/backend/slony1_funcs.sql -Lsrc/backend/slony1_funcs.sql -u -w -r1.15.2.13 -r1.15.2.14 --- src/backend/slony1_funcs.sql +++ src/backend/slony1_funcs.sql @@ -3451,6 +3451,16 @@ ''Slony-I: set provider and receiver cannot be identical''; end if; + -- --- + -- Check to see if the set contains any tables - gripe if not - bug #1226 + -- --- + if not exists (select true + from @NAMESPACE at .sl_table + where tab_set = p_sub_set) then + raise notice ''subscribeSet:: set % has no tables - risk of problems - see bug 1226'', p_sub_set; + raise notice ''http://gborg.postgresql.org/project/slony1/bugs/bugupdate.php?1226''; + end if; + -- ---- -- Call the internal procedure to store the subscription -- ----
- Previous message: [Slony1-commit] By cbbrowne: Temporary resolution to bug #1226 - if you ask to subscribe
- Next message: [Slony1-commit] By cbbrowne: Address synchronization problem where a MOVE_SET event may
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list