pgsql: Avoid unportable shell syntax in pg_upgrade's test script.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Avoid unportable shell syntax in pg_upgrade's test script.
Дата
Msg-id E1fgZgv-0007yZ-EJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid unportable shell syntax in pg_upgrade's test script.

Most of test.sh uses traditional backtick syntax for command substitution,
but commit da9b580d8 introduced two uses of $(...) syntax, which is not
recognized by very old shells.  Bring those into line with the rest.

Victor Wagner

Discussion: https://postgr.es/m/20180720153820.69e9ae6c@fafnir.local.vm

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/986127e3db6858c461dae00f23c1fbaf9302d8cb

Modified Files
--------------
src/bin/pg_upgrade/test.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: pgsql: Guard against rare RAND_bytes() failures in pg_strong_random().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Be more paranoid about quoting in pg_upgrade's test script.