Hello, Actually I have sort of two questions rolled into one: when creating custom data types, there's the option to implement *_send() and *_recv() functions in addition to *_in() and *_out(); does pg_dump use them for binary dumps, and, if not, what uses them? Are they only an optional optimization for storing binary data in the database?
On 09/20/2012 01:01 AM, Ivan Voras wrote: > Hello, > > Actually I have sort of two questions rolled into one: when creating > custom data types, there's the option to implement *_send() and *_recv() > functions in addition to *_in() and *_out(); does pg_dump use them for > binary dumps, and, if not, what uses them? Are they only an optional > optimization for storing binary data in the database? I don't know what *else* they're used for, but there's a binary wire protocol (albeit a rarely used one) that I'm pretty sure uses them. -- Craig Ringer
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера