[MASSMAIL]Fixup some StringInfo usages

Поиск
Список
Период
Сортировка
От David Rowley
Тема [MASSMAIL]Fixup some StringInfo usages
Дата
Msg-id CAApHDvojY2UvMiO+9_55ArTj10P1LBNJyyoGB+C65BLDNT0GsQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fixup some StringInfo usages  (Nathan Bossart <nathandbossart@gmail.com>)
Re: Fixup some StringInfo usages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Similar to f736e188c, I've attached a patch that fixes up a few
misusages of the StringInfo functions. These just swap one function
call for another function that is more suited to the use case.

I've also attached the patch that I used to find these.  That's not
intended for commit.

I feel like it's a good idea to fix these soon while they're new
rather than wait N years and make backpatching bug fixes possibly
harder.

I've attached a file with git blame commands to identify where all of
these were introduced.  All are new to PG17.

Any objections?

David

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: WIP Incremental JSON Parser
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Fixup some StringInfo usages