pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move common catalog cache access routines to lsyscache.c
Date: Tue, 02 Aug 2022 05:19:02 +0000
Message-ID: <E1oIkJ3-002MCy-Mv@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1oIkJ3-002MCy-Mv@gemulon.postgresql.org>
Permalink:  ../E1oIkJ3-002MCy-Mv@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oIkJ3-002MCy-Mv@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Move common catalog cache access routines to lsyscache.c
  In-Reply-To: <E1oIkJ3-002MCy-Mv@gemulon.postgresql.org>
  References: <E1oIkJ3-002MCy-Mv@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox