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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0e032a2240a98669546023f7707030ea3ce4ded7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-03-21T19:14:15Z
Releases: 18.0
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

Files

PathChange+/−
src/include/catalog/pg_class.h modified +2 −2

Discussion