pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14775: Incorrect documentation for the Commit logical replication message format
4+ messages / 3 participants
[nested] [flat]
* BUG #14775: Incorrect documentation for the Commit logical replication message format
@ 2017-08-09 05:08 kyle@kyleconroy.com
0 siblings, 1 reply; 4+ messages in thread
From: kyle@kyleconroy.com @ 2017-08-09 05:08 UTC (permalink / raw)
To: pgsql-bugs; +Cc: kyle@kyleconroy.com
The following bug has been logged on the website:
Bug reference: 14775
Logged by: Kyle Conroy
Email address: kyle@kyleconroy.com
PostgreSQL version: 10beta2
Operating system: macOS
Description:
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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #14775: Incorrect documentation for the Commit logical replication message format
@ 2017-08-10 08:21 Masahiko Sawada <sawada.mshk@gmail.com>
parent: kyle@kyleconroy.com
0 siblings, 1 reply; 4+ messages in thread
From: Masahiko Sawada @ 2017-08-10 08:21 UTC (permalink / raw)
To: kyle@kyleconroy.com; +Cc: pgsql-bugs
On Wed, Aug 9, 2017 at 2:08 PM, <kyle@kyleconroy.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14775
> Logged by: Kyle Conroy
> Email address: kyle@kyleconroy.com
> PostgreSQL version: 10beta2
> Operating system: macOS
> Description:
>
> 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.
Regards,
--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Attachments:
fix_inconsistent_message_format_in_docs.patch (text/x-patch, 433B) download
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 6731fa9..eb1fa50 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -5991,6 +5991,16 @@ Commit
</varlistentry>
<varlistentry>
<term>
+ Int8
+</term>
+<listitem>
+<para>
+ Flags for relation. Currently unused.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>
Int64
</term>
<listitem>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #14775: Incorrect documentation for the Commit logical replication message format
@ 2017-08-14 17:45 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
parent: Masahiko Sawada <sawada.mshk@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Peter Eisentraut @ 2017-08-14 17:45 UTC (permalink / raw)
To: Masahiko Sawada <sawada.mshk@gmail.com>; kyle@kyleconroy.com; +Cc: pgsql-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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #14775: Incorrect documentation for the Commit logical replication message format
@ 2017-08-15 01:30 Masahiko Sawada <sawada.mshk@gmail.com>
parent: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
0 siblings, 0 replies; 4+ messages in thread
From: Masahiko Sawada @ 2017-08-15 01:30 UTC (permalink / raw)
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>; +Cc: Kyle Conroy <kyle@kyleconroy.com>; pgsql-bugs
On Tue, Aug 15, 2017 at 2:45 AM, Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
> 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!
>
Thank you for committing!
Regards,
--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2017-08-15 01:30 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-08-09 05:08 BUG #14775: Incorrect documentation for the Commit logical replication message format kyle@kyleconroy.com
2017-08-10 08:21 ` Masahiko Sawada <sawada.mshk@gmail.com>
2017-08-14 17:45 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2017-08-15 01:30 ` Masahiko Sawada <sawada.mshk@gmail.com>
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