Re: Using HeapTuple.t_len to verify size of tuple

Поиск
Список
Период
Сортировка
От Vignesh Raghunathan
Тема Re: Using HeapTuple.t_len to verify size of tuple
Дата
Msg-id CAD_AmVghC5SsjmAxm92XoH8rbAK=B9xmNuhsBv+10YY_ARaecg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Using HeapTuple.t_len to verify size of tuple  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
You mean "even if relacl is not null"?  Sounds improbable: AFAIR, pg_class
tuples are built with heap_form_tuple, same as anything else.

                        regards, tom lane

I am sorry. It was a bug in my code. I did not add the size of the tuple's header field to the off variable before comparing it with t_len. Thank you for the help.

  

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Custom Scans and private data
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Commitfest remaining "Needs Review" items