pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix mdsyncfiletag(), take II.
Date: Sat, 14 Dec 2019 06:09:24 +0000
Message-ID: <E1ig0cG-0008HI-RI@gemulon.postgresql.org> (raw)

Fix mdsyncfiletag(), take II.

The previous commit failed to consider that FileGetRawDesc() might
not return a valid fd, as discovered on the build farm.  Switch to
using the File interface only.

Back-patch to 12, like the previous commit.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7c85be08a2d404ec2a1a6a3b089e7f08d62e5db8

Modified Files
--------------
src/backend/storage/smgr/md.c | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1ig0cG-0008HI-RI@gemulon.postgresql.org>
Permalink:  ../E1ig0cG-0008HI-RI@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ig0cG-0008HI-RI@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: tmunro@postgresql.org
  Subject: Re: pgsql: Fix mdsyncfiletag(), take II.
  In-Reply-To: <E1ig0cG-0008HI-RI@gemulon.postgresql.org>
  References: <E1ig0cG-0008HI-RI@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