| From: | Amit Kapila <akapila(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Move common catalog cache access routines to lsyscache.c |
| Date: | 2022-08-02 05:19:02 |
| Message-ID: | E1oIkJ3-002MCy-Mv@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Move common catalog cache access routines to lsyscache.c
In passing, move pg_relation_is_publishable next to similar functions.
Suggested-by: Alvaro Herrera
Author: Amit Kapila
Reviewed-by: Hou Zhijie
Discussion: https://postgr.es/m/CAHut+PupQ5UW9A9ut0Yjt21J9tHhx958z5L0k8-9hTYf_NYqxA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6b24d3f9cc55d392f3c1b8ff58024d3e3b70d22a
Modified Files
--------------
src/backend/catalog/pg_publication.c | 95 ++++++++------------------------
src/backend/catalog/pg_subscription.c | 50 -----------------
src/backend/utils/cache/lsyscache.c | 101 ++++++++++++++++++++++++++++++++++
src/include/catalog/pg_publication.h | 3 -
src/include/catalog/pg_subscription.h | 2 -
src/include/utils/lsyscache.h | 4 ++
6 files changed, 127 insertions(+), 128 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2022-08-02 10:56:28 | pgsql: doc: Fix typos in protocol.sgml |
| Previous Message | John Naylor | 2022-08-02 04:56:27 | pgsql: Fix comment in pg_db_role_setting.h |