pgsql: pg_upgrade: further tweaking of make_outputdirs().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: pg_upgrade: further tweaking of make_outputdirs().
Дата
Msg-id E1o0onM-0048Vl-7o@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_upgrade: further tweaking of make_outputdirs().

Use the same error message for all cases of pathname overrun,
since users aren't going to much care which one was too long.
Add missing newline to said error (as pg_upgrade's version
of pg_fatal requires that).
Add pathname overrun checks for the individual log files,
not just the directories.
Remove initial newline in log files; the new scheme here
guarantees that we'll never be appending to an old file.

Kyotaro Horiguchi and Tom Lane

Discussion: https://postgr.es/m/20220613.120551.729848632120189555.horikyota.ntt@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4e54d231aecb68cf64daf56ab7851c699719762e

Modified Files
--------------
src/bin/pg_upgrade/pg_upgrade.c | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Translation updates
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 14.4.