model-writtenrun 2427 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- M Tarkeshwar Rao reported that PQftype returned an unexpected timestamp OID after an upgrade; Tom Lane explained that the timestamp OID had not changed and suggested inspecting pg_type, pg_attribute, and the database connection #1 #2.
- Sebastien Flaesch questioned how client applications should identify built-in types and initially could not find pg_type_d.h; Adrian Klaver located it under the server include directory, which Sebastien confirmed #3 #4 #5.
- Tom explained that pg_type_d.h is generated from authoritative catalog sources and that its backwards-compatibility warning applies only to CASHOID and LSNOID; Sebastien subsequently acknowledged missing that explanation #7 #15.
- David G. Johnston proposed labeling the OID section, while Sebastien requested clearer documentation of the OID suffix and an exhaustive built-in type list #14 #16.
- Alvaro Herrera supplied an inline comment marking the end of the compatibility aliases, but Tom favored labeling generated sections across all catalog headers and also floated removing the obsolete aliases #17 #18.
- David advocated documenting cross-version OID stability and retaining the aliases; Tom said stability was documented elsewhere and submitted general section labels plus a separate fix for a backend-only declaration incorrectly exposed to clients #19 #20.
- David accepted the section-labeling patch and separately suggested an explanatory comment in genbki.h; Tom thanked him for reviewing but declined that additional comment in the thread’s final reply #21 #22.
- Both patches from #20 subsequently landed unchanged: generated header labels in cd72c1b76e and the pg_class.h declaration relocation in 0e032a2240.
- The submitted patches were fully committed, while alias removal and broader API documentation changes were not included; the original unexpected-OID report received diagnostic advice but no confirmed explanation in the thread #1 #2 #18 #20 #22.