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  (David Rowley <dgrowleyml@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Use appendStringInfoSpaces more
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?)