]> granicus.if.org Git - postgresql/commit
Fix thinko when bumping on temporary directories in pg_checksums
authorMichael Paquier <michael@paquier.xyz>
Thu, 14 Mar 2019 05:14:49 +0000 (14:14 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 14 Mar 2019 05:14:49 +0000 (14:14 +0900)
commit6eebfdc38b173edcd179f422cf7083383edb24bc
treee49e5b6e1020ff5e87f2464859cd8792e3f0a5f6
parent401b87a24fbab7bfb48eb48050a51e033452ac6e
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
src/bin/pg_checksums/pg_checksums.c