pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix thinko when bumping on temporary directories in pg_checksums
Date: Thu, 14 Mar 2019 05:16:50 +0000
Message-ID: <E1h4Ija-0007vc-Nv@gemulon.postgresql.org> (raw)

Fix thinko when bumping on temporary directories in pg_checksums

This fixes an oversight from 5c99513.  This has no actual consequence as
PG_TEMP_FILE_PREFIX and PG_TEMP_FILES_DIR have the same value so when
bumping on a temporary path the directory scan was still moving on to
the next entry instead of skipping the rest of the scan, but let's keep
the logic correct.

Author: Michael Banck
Reviewed-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20190314.115417.58230569.horiguchi.kyotaro@lab.ntt.co.jp
Backpatch-through: 11

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6eebfdc38b173edcd179f422cf7083383edb24bc

Modified Files
--------------
src/bin/pg_checksums/pg_checksums.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1h4Ija-0007vc-Nv@gemulon.postgresql.org>
Permalink:  ../E1h4Ija-0007vc-Nv@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h4Ija-0007vc-Nv@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: michael@paquier.xyz
  Subject: Re: pgsql: Fix thinko when bumping on temporary directories in pg_checksums
  In-Reply-To: <E1h4Ija-0007vc-Nv@gemulon.postgresql.org>
  References: <E1h4Ija-0007vc-Nv@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