Place "extern" declaration in the right part of pg_class.h.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/include/catalog/pg_class.h | modified | +2 −2 |
Discussion
- After upgrading libpq, the same function(PQftype) call returns a different OID 22 messages · 2025-03-15 → 2025-03-21