Re: generating catcache control data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: generating catcache control data
Дата
Msg-id 31232.1570737332@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: generating catcache control data  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
... BTW, one other issue with changing this, at least if we want to
precompute tupdescs for all system catalogs used in catcaches, is that
that would put a very big crimp in doing runtime changes to catalogs.
While we'll probably never support changes in the physical layouts
of catalog rows, there is interest in being able to change some
auxiliary pg_attribute fields, e.g. attstattarget [1].  So we'd need
to be sure that the compiled-in tupdescs are only used to disassemble
catalog tuples, and not for other purposes.

Of course this issue arises already for the bootstrap catalogs, so
maybe it's been dealt with sufficiently.  But it's something to keep
an eye on.

            regards, tom lane

[1] https://www.postgresql.org/message-id/flat/8b00ea5e-28a7-88ba-e848-21528b632354%402ndquadrant.com



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

Предыдущее
От: Daniel Wood
Дата:
Сообщение: BTP_DELETED leaf still in tree
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: BTP_DELETED leaf still in tree