I added a result set to START_STREAMING command, but neglected walreceiver.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | modified | +15 −5 |
| src/backend/replication/walreceiver.c | modified | +3 −1 |