pgsql: Fix thinko when bumping on temporary directories inpg_verify_ch - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix thinko when bumping on temporary directories inpg_verify_ch
Date
Msg-id E1h4Ija-0007vd-Nr@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix thinko when bumping on temporary directories in pg_verify_ch
List pgsql-committers
Fix thinko when bumping on temporary directories in pg_verify_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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/da453004869d3e818d8529087b680ebbf8842f51

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Sync commentary in transam.h and bki.sgml.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix volatile vs. pointer confusion