From: Steve Singer Date: Thu, 31 Oct 2013 13:05:20 +0000 (-0400) Subject: bug 321 - fix to the previous patch for when we have multiple real providers X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=08b73fb010789eb3c4ec486d2680cd72359f1ccb;p=slony1-engine.git bug 321 - fix to the previous patch for when we have multiple real providers If the provider list contains multiple providers that actually provide a set (set_head != NULL) then we want to use those providers and not skip them --- diff --git a/src/slon/remote_worker.c b/src/slon/remote_worker.c index 487c4db5..d9c340a5 100644 --- a/src/slon/remote_worker.c +++ b/src/slon/remote_worker.c @@ -3827,7 +3827,7 @@ sync_event(SlonNode * node, SlonConn * local_conn, * * If the provider doesn't then we get the DDL from the event_provider. */ - if(provider->no_id != event->event_provider) + if(provider->no_id != event->event_provider && provider->set_head == NULL) { slon_log(SLON_DEBUG2, "remoteWorkerThread_%d: skipping provider %d we want %d\n",