Bug #226 - When the cleanupEvent was called, the slon worker process restarted
authorChristopher Browne <cbbrowne@ca.afilias.info>
Fri, 22 Jul 2011 19:25:59 +0000 (15:25 -0400)
committerChristopher Browne <cbbrowne@ca.afilias.info>
Fri, 22 Jul 2011 19:25:59 +0000 (15:25 -0400)
commit55b61d511045c766e3d04cc8777c4bef6717d0a7
tree37887d2d7bb33d70e279d3556c2828cefb818de5
parent928300d1fc0078d2e980aa3f601c351c12495d8a
Bug #226 - When the cleanupEvent was called, the slon worker process restarted

Change of queries for bug #222 meant that the cleanup thread query
does not end by performing a query that will return tuples. Then,
PQresultStatus does not return "PGRES_TUPLES_OK" but "PGRES_COMMAND_OK",
so the code falls into the error handling section.
RELEASE
src/slon/cleanup_thread.c