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
     (relkind) == RELKIND_TOASTVALUE || \
     (relkind) == RELKIND_MATVIEW)
 
-extern int errdetail_relkind_not_supported(char relkind);
-
 #endif                         /* EXPOSE_TO_CLIENT_CODE */
 
+extern int errdetail_relkind_not_supported(char relkind);
+
 #endif                         /* PG_CLASS_H */