Re: Fixed length data types issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixed length data types issue
Дата
Msg-id 22339.1158199721@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fixed length data types issue  (Mark Dilger <pgsql@markdilger.com>)
Ответы Re: Fixed length data types issue  (Mark Dilger <pgsql@markdilger.com>)
Список pgsql-hackers
Mark Dilger <pgsql@markdilger.com> writes:
> Tom Lane wrote:
>> Please provide a stack trace --- AFAIK there shouldn't be any reason why
>> a pass-by-ref 3-byte type wouldn't work.

> (gdb) bt
> #0  0xb7e01d45 in memcpy () from /lib/libc.so.6
> #1  0x08077ece in heap_fill_tuple (tupleDesc=0x83c2ef7, 
> values=0x83c2e84, isnull=0x83c2e98 "", data=0x83c2ef4 "", 
> infomask=0x83c2ef0, bit=0x0)
>      at heaptuple.c:181

Hm, are you sure you provided a valid pointer (not the integer value
itself) as the Datum output from int3_in?

(Looks at patch ... ) Um, I think you didn't, although that coding
is far too cute to be actually readable ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Not-so-open items
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: Fixed length data types issue