]> granicus.if.org Git - postgresql/commit
I added a result set to START_STREAMING command, but neglected walreceiver.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 17 Jan 2013 21:12:30 +0000 (23:12 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 17 Jan 2013 21:45:45 +0000 (23:45 +0200)
commit3684a534efbd2ffd72e2c4cbd21f9752be3efaf1
tree52da979cbedcbea664a4e7591deb1bf80b5ccc5f
parent279628a0a7cf582f7dfb68e25b7b76183dd8ff2f
I added a result set to START_STREAMING command, but neglected walreceiver.

The patch to allow pg_receivexlog to switch timeline added a result set
after copy has ended in START_STREAMING command, to return the next
timeline's ID to the client. But walreceived didn't get the memo, and threw
an error on the unexpected result set. Fix.
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
src/backend/replication/walreceiver.c