pgsql: Fix thinko when bumping on temporary directories in pg_checksums

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix thinko when bumping on temporary directories in pg_checksums
Date: 2019-03-14 05:16:50
Message-ID: E1h4Ija-0007vc-Nv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-03-14 07:46:59 pgsql: Fix volatile vs. pointer confusion
Previous Message Tom Lane 2019-03-14 04:41:27 Re: pgsql: Add support for hyperbolic functions, as well as log10().