From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Allow table AM's to use rd_amcache, too. |
Date: | 2019-07-30 19:19:16 |
Message-ID: | E1hsXeW-0005Tu-JJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-07-31 01:23:56 | pgsql: Remove orphaned structure member in pgcrypto |
Previous Message | Heikki Linnakangas | 2019-07-30 18:15:55 | pgsql: Print WAL position correctly in pg_rewind error message. |