Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> Specifically, if we're not going to remove write location, then I
> think we need to apply something like the attached.
> while (walrcv_receive(0, &type, &buf, &len))
> XLogWalRcvProcessMsg(type, buf, len);
> + /* Let the master know that we received some data. */
> + XLogWalRcvSendReply();
What if we didn't actually receive any new data?
regards, tom lane