]> granicus.if.org Git - postgresql/commit
Be more paranoid about quoting in pg_upgrade's test script.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Jul 2018 16:05:25 +0000 (12:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Jul 2018 16:05:31 +0000 (12:05 -0400)
commit5e5d131202c3494f4360f001b4805c8944e9600c
treea40717629d5b793a09375e98ff88182f87149835
parente6105686dcfa5b3b0a3937f9b6c4d44a865adc17
Be more paranoid about quoting in pg_upgrade's test script.

Double-quote $PGDATA in "find" commands introduced by commit da9b580d8,
in case that path contains spaces or other special characters.

Adjust a few other places so that quoting is done more consistently.
None of the others are actual bugs AFAICS, but it's confusing to readers
if the same thing is done differently in different places.

Noted by Tels.

Discussion: https://postgr.es/m/c96303c04c360bbedaa04f90f515745b.squirrel@sm.webmail.pair.com
src/bin/pg_upgrade/test.sh