Re: Use appendStringInfoSpaces more

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Use appendStringInfoSpaces more
Дата
Msg-id
207775.1674163543@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Use appendStringInfoSpaces more David Rowley <dgrowleyml@gmail.com>
Re: Use appendStringInfoSpaces more Peter Smith <smithpb2250@gmail.com>
Re: Use appendStringInfoSpaces more Tom Lane <tgl@sss.pgh.pa.us>
Re: Use appendStringInfoSpaces more David Rowley <dgrowleyml@gmail.com>
Re: Use appendStringInfoSpaces more David Rowley <dgrowleyml@gmail.com>
Peter Smith  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
Дата:
От: Melanie Plageman
Дата:
FAQ