Move common catalog cache access routines to lsyscache.c

Amit Kapila <akapila@postgresql.org>

Commit: 6b24d3f9cc55d392f3c1b8ff58024d3e3b70d22a
Author: Amit Kapila <akapila@postgresql.org>
Date: 2022-08-02T05:17:22Z
Releases: 16.0
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

Files

Discussion