Mon Jul 4 15:49:42 PDT 2005
- Previous message: [Slony1-general] error in slon's query
- Next message: [Slony1-general] slony1 1.1 build failure when no perl installed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Joachim Wieland wrote: >On Sat, Jul 02, 2005 at 09:17:42AM -0400, cbbrowne at ca.afilias.info wrote: > > >>>DEBUG2 remoteWorkerThread_1: SYNC 1087 processing >>>DEBUG2 remoteWorkerThread_1: syncing set 1 with 0 table(s) from provider 1 >>> >>You'll presumably have to unsubscribe set 1 and create a new set that >>actually *does* have tables in it. >> >> > >Ok, but a warning would be nice anyway. > > > I was about to add this only to discover that there already is a warning, which was added in April, and thus is reported in 1.1. -- --- -- 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; I just tested a little example: cbbrowne at dba2:/tmp> cat create_empty_set.slonik Monday 10:47:51 cluster name = T1; node 11 admin conninfo = 'dbname=slony_test1'; node 22 admin conninfo = 'dbname=slony_test2'; create set (id = 255, origin = 11, comment='blank empty set'); subscribe set (id=255, provider = 11, receiver = 22, forward = false); cbbrowne at dba2:/tmp> slonik create_empty_set.slonik Monday 10:45:02 create_empty_set.slonik:6: NOTICE: subscribeSet:: set 255 has no tables - risk of problems - see bug 1226 create_empty_set.slonik:6: NOTICE: http://gborg.postgresql.org/project/slony1/bugs/bugupdate.php?1226 cbbrowne at dba2:/tmp> The warning is there... It is (hopefully) somewhere in your PostgreSQL logs...
- Previous message: [Slony1-general] error in slon's query
- Next message: [Slony1-general] slony1 1.1 build failure when no perl installed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list