clarification on walsender protocol document

Started by Tom Laneover 15 years ago3 messages
#1Tom Lane
tgl@sss.pgh.pa.us

protocol.sgml says

<term>START_REPLICATION XXX/XXX</term>
<listitem>
<para>
Instructs backend to start streaming WAL, starting at point XXX/XXX.

Am I correct in thinking that this is wrong, and streaming actually
starts with the byte after XXX/XXX?

regards, tom lane

#2Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Tom Lane (#1)
Re: clarification on walsender protocol document

On 03/06/10 23:17, Tom Lane wrote:

protocol.sgml says

<term>START_REPLICATION XXX/XXX</term>
<listitem>
<para>
Instructs backend to start streaming WAL, starting at point XXX/XXX.

Am I correct in thinking that this is wrong, and streaming actually
starts with the byte after XXX/XXX?

No, I believe the documentation is correct.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Heikki Linnakangas (#2)
Re: clarification on walsender protocol document

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:

On 03/06/10 23:17, Tom Lane wrote:

Am I correct in thinking that this is wrong, and streaming actually
starts with the byte after XXX/XXX?

No, I believe the documentation is correct.

OK, I read the code again. Thanks for the cross-check.

regards, tom lane