| От | Tom Lane |
|---|---|
| Тема | Re: construct_array() use with PQexec with binary data |
| Дата | |
| Msg-id | 2380.1273107536@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | construct_array() use with PQexec with binary data (Kenneth Marshall <ktm@rice.edu>) |
| Список | pgsql-hackers |
Kenneth Marshall <ktm@rice.edu> writes: > I am working on adapting a regular PQexec() call to use binary > transmission of the parameters. One of the parameters is an > array of BIGINT. Looking in include/utils/array.h, it appears > that construct_array() will do exactly what I need to get an > array to pass in with the PQexec() call. Is there a library > that includes that functionality? Or do I need to cobble it > together from the various pieces of code? Thank you for any > help. libpq does not provide any functionality for manipulating binary data --- it just sends and receives it. You might care to look at http://libpqtypes.esilo.com/ which offers a lot of higher-level functionality in this area. regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера