1. The update sl_subscribe statement was duplicated,
authorSteve Singer <ssinger@ca.afilias.info>
Fri, 17 Sep 2010 14:49:43 +0000 (10:49 -0400)
committerSteve Singer <ssinger@ca.afilias.info>
Mon, 20 Sep 2010 13:20:23 +0000 (09:20 -0400)
commita59aaab94d84e5ac79b0757068577b78cc4990e3
tree09bb895cab2d455aebb7e7cebaa10d3c6c9d6e4d
parent24bf91eed74a6422b10aba6ca7da10bcc448e974
1. The update sl_subscribe statement was duplicated,
   the exact same SQL was listed twice.
2. Do not delete the sl_subscribe row for the backup node.
   We were finding that a slave could end up with data the
   backup node did not have when it became a master because
   the backup node was ignoring the sync because it didn't
   think it had a provider.

This reverts parts of d50fba024aac79020549973e98a4ea9d5bccdab5
(cherry picked from commit 7970189ec93faf3ee71cf49e97529980bbd219aa)
src/backend/slony1_funcs.sql