| От | Tom Lane |
|---|---|
| Тема | Re: InsertPgAttributeTuple() and attcacheoff |
| Дата | |
| Msg-id | 681.1534261812@sss.pgh.pa.us обсуждение |
| Ответ на | InsertPgAttributeTuple() and attcacheoff (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
| Ответы |
Re: InsertPgAttributeTuple() and attcacheoff
|
| Список | pgsql-hackers |
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> It seems to me that it would make sense if InsertPgAttributeTuple() were
> to set attcacheoff to -1 instead of taking it from the caller.
Looked this over, no objections.
I wonder whether we should set that field to -1 when we *read*
pg_attribute rows from disk, and be less fussed about what gets written
out. The only real advantage is that this'd protect us from foolish
manual changes to pg_attribute.attcacheoff entries, but that doesn't
seem negligible.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера