pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Be more paranoid about quoting in pg_upgrade's test script. 2+ messages / 1 participants [nested] [flat]
* pgsql: Be more paranoid about quoting in pg_upgrade's test script. @ 2018-07-21 16:06 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2018-07-21 16:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0c0908d926cc65c5a10f9507580be3aacce08cf1 Modified Files -------------- src/bin/pg_upgrade/test.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Be more paranoid about quoting in pg_upgrade's test script. @ 2018-07-21 16:06 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2018-07-21 16:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5e5d131202c3494f4360f001b4805c8944e9600c Modified Files -------------- src/bin/pg_upgrade/test.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-07-21 16:06 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-07-21 16:06 pgsql: Be more paranoid about quoting in pg_upgrade's test script. Tom Lane <tgl@sss.pgh.pa.us> 2018-07-21 16:06 pgsql: Be more paranoid about quoting in pg_upgrade's test script. Tom Lane <tgl@sss.pgh.pa.us>
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