pgsql: Allow table AM's to use rd_amcache, too.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Allow table AM's to use rd_amcache, too.
Дата
Msg-id E1hsXeW-0005Tv-JH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow table AM's to use rd_amcache, too.

The rd_amcache allows an index AM to cache arbitrary information in a
relcache entry. This commit moves the cleanup of rd_amcache so that it
can also be used by table AMs. Nothing takes advantage of that yet, but
I'm sure it'll come handy for anyone writing new table AMs.

Backpatch to v12, where table AM interface was introduced.

Reviewed-by: Julien Rouhaud

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/394f7500ae8f4afc158273d642f5ce87af3a7309

Modified Files
--------------
src/backend/utils/cache/relcache.c | 11 +++++++++--
src/include/utils/rel.h            | 19 +++++++++++--------
2 files changed, 20 insertions(+), 10 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Print WAL position correctly in pg_rewind error message.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Remove orphaned structure member in pgcrypto