Re: Use appendStringInfoSpaces more

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Use appendStringInfoSpaces more
Дата
Msg-id 207775.1674163543@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Use appendStringInfoSpaces more  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Use appendStringInfoSpaces more
Список pgsql-hackers
Peter Smith <smithpb2250@gmail.com> writes:
> Should the add_indent function also have a check to avoid making
> unnecessary calls to appendStringInfoSpaces when the level is 0?

Seems like unnecessary extra notation, seeing that appendStringInfoSpaces
will fall out quickly for a zero argument.

            regards, tom lane



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