Re: InsertPgAttributeTuple() and attcacheoff

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: [HACKERS] Bug in to_timestamp().
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Expression errors with "FOR UPDATE" and postgres_fdw withpartition wise join enabled.