Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhJR5-0004jb-K2 for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Aug 2017 17:45:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhJR5-0004gG-6n for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Aug 2017 17:45:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhJQM-0002TZ-B7 for pgsql-bugs@postgresql.org; Mon, 14 Aug 2017 17:45:10 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhJQJ-0001eJ-AA for pgsql-bugs@postgresql.org; Mon, 14 Aug 2017 17:45:09 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A2A6520D31; Mon, 14 Aug 2017 13:45:06 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 14 Aug 2017 13:45:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=2TLxk740X9btKdrBBsiknLKL7WYK2VGZLlyUj/RYcqM=; b=YPGvG6j5 OnigsnvuhXpi1ciOuFlgibPabAwBcF3Y32pVodaN5GZsjVN6Yd+H5MBDoyU1UpgD vO/iEfdkPXTJgAQ95uyyXiPRrqgyJTT7Fe01tNbaRbGFsupJ21lZOa2xlEUvRQOx dZ7SlKdO2B5iZmzpcjd/J83inj+c65AOX7htQHpQaWB2rh7q1dj4SpctfLPpMtzV G+ymNB8Z4ndfY99bQ2jVM5Kuk2qMFv+vewTpqZOwXsHIf5/MgwaSqnl6Uwe3tTsa LIXcJ1HQHOiI+Gl+XbSDVtgBI3mOqKi6EpJq+++pXjDjsqanCJduQCYOS7AM+b85 bbsWRsed2lO0Pw== X-ME-Sender: X-Sasl-enc: UfiP3zNezhTfAjJUdgNz0s5i6PDjCYtBH8L7Y3C0T6v4 1502732706 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 668DD24442; Mon, 14 Aug 2017 13:45:06 -0400 (EDT) Subject: Re: BUG #14775: Incorrect documentation for the Commit logical replication message format To: Masahiko Sawada , kyle@kyleconroy.com References: <20170809050854.8429.11044@wrigleys.postgresql.org> Cc: pgsql-bugs From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <84fe26d6-5a46-2064-0cce-f0067f299517@2ndquadrant.com> Date: Mon, 14 Aug 2017 13:45:06 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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