Обсуждение: clarification on walsender protocol document

Поиск
Список
Период
Сортировка

clarification on walsender protocol document

От
Tom Lane
Дата:
protocol.sgml says
   <term>START_REPLICATION XXX/XXX</term>   <listitem>    <para>     Instructs backend to start streaming WAL, starting
atpoint XXX/XXX.
 

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


Re: clarification on walsender protocol document

От
Heikki Linnakangas
Дата:
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


Re: clarification on walsender protocol document

От
Tom Lane
Дата:
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