pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add parens to ConvertToXSegs macro
Date: Wed, 24 Jun 2020 18:01:26 +0000
Message-ID: <E1jo9iA-0007DE-3X@gemulon.postgresql.org> (raw)

Add parens to ConvertToXSegs macro

The current definition (introduced in 9a3215026bd6) is dangerous.  No
bugs exist in our code at present, but backpatch to 11 nonetheless,
where that commit debuted.

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5c215c941c3f6d6d2f5faf7bef6262373594977c

Modified Files
--------------
src/backend/access/transam/xlog.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1jo9iA-0007DE-3X@gemulon.postgresql.org>
Permalink:  ../E1jo9iA-0007DE-3X@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jo9iA-0007DE-3X@gemulon.postgresql.org

 · 

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@alvh.no-ip.org
  Subject: Re: pgsql: Add parens to ConvertToXSegs macro
  In-Reply-To: <E1jo9iA-0007DE-3X@gemulon.postgresql.org>
  References: <E1jo9iA-0007DE-3X@gemulon.postgresql.org>

* 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