| От | Tom Lane |
|---|---|
| Тема | Re: C function to return tuple |
| Дата | |
| Msg-id | 27009.1285517769@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | C function to return tuple (Marios Vodas <mvodas@gmail.com>) |
| Ответы |
Re: C function to return tuple
|
| Список | pgsql-hackers |
Marios Vodas <mvodas@gmail.com> writes:
> My problem is that I don't know how to construct the d_type tuple in the c
> function.
Seems like the main problem with that function is that you're passing
an uninitialized "nulls" array to heap_form_tuple.
I kinda wonder why you are using a fixed-length values array together
with a variable-length, dynamically allocated nulls array, but that'
just odd style not wrong in itself.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера