| От | Tom Lane |
|---|---|
| Тема | Re: StringInfo misc. issues |
| Дата | |
| Msg-id | 784.1188400489@sss.pgh.pa.us обсуждение |
| Ответ на | StringInfo misc. issues (NikhilS <nikkhils@gmail.com>) |
| Ответы |
Re: StringInfo misc. issues
|
| Список | pgsql-hackers |
NikhilS <nikkhils@gmail.com> writes:
> The attached patch should fix this.
And break other things, no doubt. needed = 0 is a perfectly valid
edge case and mustn't be rejected here. (In fact, I doubt you'd
even get through the regression tests with this patch ... how much
did you test it?)
The real problem with what you describe is that you should have used
makeStringInfo().
> I also found the absence of a function like resetStringInfo() a bit
> puzzling.
CVS HEAD is way ahead of you.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера