Re: Improve a few appendStringInfo calls new to v18

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Improve a few appendStringInfo calls new to v18
Дата
Msg-id 832477.1744379118@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Improve a few appendStringInfo calls new to v18  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> Would it be useful to augment appendStringInfo() something like this:

> if (VA_ARGS_NARGS() == 0)
>      return appendStringInfoString(str, fmt);

That would change the behavior in edge cases, for instance
appendStringInfo(str, "foo%%bar").  Maybe we'd never hit those,
but on the whole I'm not in love with the idea.

            regards, tom lane



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