Place "extern" declaration in the right part of pg_class.h.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Mar 2025 19:14:15 +0000 (15:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Mar 2025 19:14:15 +0000 (15:14 -0400)
commit0e032a2240a98669546023f7707030ea3ce4ded7
tree155e3295fcf694499e468c5c89823a92063a3a8e
parentcd72c1b76e36525fb6b23418d232df661634afd5
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
src/include/catalog/pg_class.h