pgsql: Be more paranoid about quoting in pg_upgrade's test script.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Be more paranoid about quoting in pg_upgrade's test script.
Дата
Msg-id E1fguOQ-0000k7-Kr@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid unportable shell syntax in pg_upgrade's test script.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Further portability hacking in pg_upgrade's test script.