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-0005Tu-JJ@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a29834beb1deeb0aa06742dd77ba1d21b444ca44

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