pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>
To: kyle@kyleconroy.com
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14775: Incorrect documentation for the Commit logical replication message format
Date: Mon, 14 Aug 2017 13:45:06 -0400
Message-ID: <84fe26d6-5a46-2064-0cce-f0067f299517@2ndquadrant.com> (raw)
In-Reply-To: <CAD21AoCkONxpZbkwV8nHNvb-C9CY_iZo5v3VjRZ7NK2zyekVLg@mail.gmail.com>
References: <20170809050854.8429.11044@wrigleys.postgresql.org>
	<CAD21AoCkONxpZbkwV8nHNvb-C9CY_iZo5v3VjRZ7NK2zyekVLg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 8/10/17 04:21, Masahiko Sawada wrote:
>> The Commit message format is incorrectly documented. The `flags` field[0] is
>> missing. I ran into this while creating a parser for the messages in
>> Golang.
>>
>> [0]
>> https://github.com/postgres/postgres/blob/master/src/backend/replication/logical/proto.c#L80
>>
> 
> Thank you for reporting. Yeah, it's not used actually for now but
> should be documented. Attached patch.

Committed, thanks!

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <84fe26d6-5a46-2064-0cce-f0067f299517@2ndquadrant.com>
Permalink:  ../84fe26d6-5a46-2064-0cce-f0067f299517@2ndquadrant.com/
Also on:    postgresql.org/message-id/84fe26d6-5a46-2064-0cce-f0067f299517@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, sawada.mshk@gmail.com, kyle@kyleconroy.com
  Subject: Re: BUG #14775: Incorrect documentation for the Commit logical replication message format
  In-Reply-To: <84fe26d6-5a46-2064-0cce-f0067f299517@2ndquadrant.com>
  References: <20170809050854.8429.11044@wrigleys.postgresql.org> <CAD21AoCkONxpZbkwV8nHNvb-C9CY_iZo5v3VjRZ7NK2zyekVLg@mail.gmail.com> <84fe26d6-5a46-2064-0cce-f0067f299517@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox