Re: gist DatumGetPointer returns pointer to corrupted data

Поиск
Список
Период
Сортировка
От Marios Vodas
Тема Re: gist DatumGetPointer returns pointer to corrupted data
Дата
Msg-id AANLkTimFF7BMwO103WB+Nj4uOp1XRdTRkcf+Dd4mz4Pn@mail.gmail.com
обсуждение исходный текст
Ответ на Re: gist DatumGetPointer returns pointer to corrupted data  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
2010/10/22 Teodor Sigaev <teodor@sigaev.ru>
Type should have in/out function, at least dummy. If type is not present in pg_type table then postgres can not operate with even on disk.

Yes, you are right. I did some tests and I found that in order for it to work correctly the type we specify in STORAGE parameter in create operator class has to have internallength same or bigger than the sizeof() struct that is stored in nodes of the tree. I didn't specify storage parameter at all so that was the problem. Thank you for helping.

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Simplifying replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Simplifying replication