pgsql: Place "extern" declaration in the right part of pg_class.h.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Place "extern" declaration in the right part of pg_class.h.
Date: 2025-03-21 19:14:44
Message-ID: E1tvhpL-000LMi-2Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Place "extern" declaration in the right part of pg_class.h.

errdetail_relkind_not_supported() was declared within
EXPOSE_TO_CLIENT_CODE, which is mistaken since that function
isn't available client-side. While relatively harmless,
this isn't good precedent.

Discussion: https://postgr.es/m/1134562.1742507765@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0e032a2240a98669546023f7707030ea3ce4ded7

Modified Files
--------------
src/include/catalog/pg_class.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2025-03-21 19:20:37 pgsql: Add GUC option to control maximum active replication origins.
Previous Message Melanie Plageman 2025-03-21 18:07:58 pgsql: Assorted trivial cleanup of c5c239e26e