pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Nikhil Sontakke <nikhils@2ndquadrant.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding
Date: Fri, 15 Jun 2018 15:04:57 -0400
Message-ID: <20180615190457.fpjrfwhfoke33c3j@alvherre.pgsql> (raw)
In-Reply-To: <CAMGcDxey6dG1DP34_tJMoWPcp5sPJUAL4K5CayUUXLQSx2GQpA@mail.gmail.com>

On 2018-Jun-14, Nikhil Sontakke wrote:

> There was a slight oversight in the twophase_gid length calculation in
> the XactLogCommitRecord() code path in the cf5a1890592 commit. The
> corresponding XactLogAbortRecord() code path was ok. PFA, a small
> patch to fix the oversight.

Forgot to add: maybe it would be useful to have tests in core where
these omissions become evident.  Do you have some?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (10+ messages)  latest in thread

Message-ID: <20180615190457.fpjrfwhfoke33c3j@alvherre.pgsql>
Permalink:  ../20180615190457.fpjrfwhfoke33c3j@alvherre.pgsql/
Also on:    postgresql.org/message-id/20180615190457.fpjrfwhfoke33c3j@alvherre.pgsql

 · 

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-committers@postgresql.org
  Cc: alvherre@2ndquadrant.com, nikhils@2ndquadrant.com, hlinnaka@iki.fi, michael@paquier.xyz, simon@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Store 2PC GID in commit/abort WAL recs for logical decoding
  In-Reply-To: <20180615190457.fpjrfwhfoke33c3j@alvherre.pgsql>
  References: <CAMGcDxey6dG1DP34_tJMoWPcp5sPJUAL4K5CayUUXLQSx2GQpA@mail.gmail.com> <20180615190457.fpjrfwhfoke33c3j@alvherre.pgsql>

* 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