From: Craig Ringer Date: Wed, 30 Apr 2014 12:21:37 +0000 (+0800) Subject: bdr: in get_worker_option removal, it helps to increment the counter X-Git-Url: http://git.postgresql.org/gitweb/static/developers.postgresql.org?a=commitdiff_plain;h=3b58f876a29a72b8e87a4fe854f181e6d47f524d;p=users%2Fandresfreund%2Fpostgres.git bdr: in get_worker_option removal, it helps to increment the counter Failure to increment the loop counter led to >2 node configurations failing. --- diff --git a/contrib/bdr/bdr.c b/contrib/bdr/bdr.c index e78069b394..806d0f6750 100644 --- a/contrib/bdr/bdr.c +++ b/contrib/bdr/bdr.c @@ -1502,6 +1502,7 @@ _PG_init(void) continue; Assert(bdr_connection_configs[connection_config_idx] != NULL); + connection_config_idx++; } /*