| От | Andrew Dunstan |
|---|---|
| Тема | Re: StringInfo misc. issues |
| Дата | |
| Msg-id | 46D5893B.3000206@dunslane.net обсуждение |
| Ответ на | StringInfo misc. issues (NikhilS <nikkhils@gmail.com>) |
| Ответы |
Re: StringInfo misc. issues
|
| Список | pgsql-hackers |
NikhilS wrote: > > > I also found the absence of a function like resetStringInfo() a bit > puzzling. A found a lot of places where the code was resetting the > "len" field to 0 and assigning '\0' to the data field to reset the > variable. This seems to be the only missing API which will be needed > while working with the StringInfo type. er, what? stringinfo.h has: /*------------------------* resetStringInfo* Clears the current content of the StringInfo, if any. The* StringInfo remainsvalid.*/ extern void resetStringInfo(StringInfo str); cheers andrew cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера