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.1742507...@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(-)