| От | Peter Eisentraut |
|---|---|
| Тема | Re: [PATCH] Add use of asprintf() |
| Дата | |
| Msg-id | 1379823874.24014.6.camel@vanquo.pezone.net обсуждение исходный текст |
| Ответ на | Re: [PATCH] Add use of asprintf() (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Список | pgsql-hackers |
On Mon, 2013-09-16 at 17:31 -0300, Alvaro Herrera wrote: > Looks good to me, except that pg_asprintf seems to be checking ret > instead of rc. Ah, good catch! > Is there a reason for the API discrepancy of pg_asprintf vs. psprintf? > I don't see that we use the integer return value anywhere. Callers > interested in the return value can use asprintf directly (and you have > already inserted callers that do nonstandard things using direct > asprintf). I wanted to keep pg_asprintf the same as asprintf. I think there is some value in that, but it's not supremely important.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера