Re: Count output lines automatically in psql/help.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Count output lines automatically in psql/help.c
Дата
Msg-id 2490638.1654861837@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Count output lines automatically in psql/help.c  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> I wonder whether this mix of HELP0 and HELP is necessary.  The original 
> code didn't care about calling fprintf even if there are no 
> substitutions.  I think this could lead to misalignment errors.  I 
> vaguely recall we once had mixes of fprintf and fputs and got rid of 
> them for this reason.

In the committed patch, I changed HELP to HELPN exactly so that
the strings would still line up.

            regards, tom lane



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: [PATCH] psql: \dn+ to show size of each schema (and \dA+ for AMs)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: better page-level checksums