| От | Greg Stark |
|---|---|
| Тема | type recv/send functions |
| Дата | |
| Msg-id | 87lksklhjl.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответы |
Re: type recv/send functions
|
| Список | pgsql-hackers |
Is it just me or are the send/recv strangely asymmetric? It seems like the recv function is designed to avoid copying so the type can pick the data straight out of the data stream without passing through intermediate representations. But the send function forces the type to copy the data into a temporary bytea, which is presumably then copied into the actual data stream. Wouldn't the natural thing to do be to provide the StringInfo buffer with a cursor for the type's send function to stuff the bytea into? -- greg
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера