pgsql: Improve indentation of multiline initialization expressions.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve indentation of multiline initialization expressions.
Дата
Msg-id E1plAoA-002477-61@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve indentation of multiline initialization expressions.

If a variable has an initialization expression that wraps onto the
next line(s), pg_bsd_indent will now indent the continuation lines
one stop, instead of aligning them flush with the variable declaration.

We've been holding off applying this until the last v16 CF finished,
but now it's time.

Thomas Munro and Tom Lane

Discussion: https://postgr.es/m/20230120013137.7ky7nl4e4zjorrfa@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/064750af4f4ebab9c0d47d502c7ff7e3c9533f9f

Modified Files
--------------
src/tools/pg_bsd_indent/args.c |  2 +-
src/tools/pg_bsd_indent/io.c   | 11 ++++++-----
src/tools/pgindent/pgindent    |  2 +-
3 files changed, 8 insertions(+), 7 deletions(-)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Skip \password TAP test on old IPC::Run versions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Skip \password TAP test on old IPC::Run versions