model-writtenrun 2994 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ayush Vatsa reported that pgstattuple had stopped accepting sequences after PostgreSQL 11 and initially favored an explicit unsupported-sequence error over restoring support #1.
- Robert Haas questioned both the practical benefit and the claim of a bug #2 #4, while Nathan Bossart argued that the failure unintentionally contradicted longstanding sequence support and should be fixed and backpatched #3 #6.
- Ayush submitted a sequence exemption and regression tests #7; Nathan identified platform-dependent expected statistics and a failing 32-bit test #8 #9, leading Ayush to use count(*) and clarify the heap-AM comment #10.
- Robert continued questioning the usefulness of restoration #12, but Nathan identified the same restriction in pageinspect's tuple_data_split() #13, and Michael Paquier explained that inspecting sequence pages could help diagnose corruption #14.
- Nathan supplied a combined pgstattuple and pageinspect patch, crediting Ayush as co-author and cleaning up the tests #15; Matthias van de Meent questioned the comparison between raw-page inspection and relation-aware decoding #16, and Nathan explained why sequences were valid inputs to both #17.
- Matthias accepted the combined patch #19, Michael endorsed it after reviewing both modules #20, and Nathan announced its landing #21 as dd5670fa54, with only commit-message refinements and a branch-specific expected-error adjustment from #15.
- Nathan then reported buildfarm failures in the new tests #22; Michael suggested checking only the row count #23, while Nathan identified a separate parallel-query failure caused by using a temporary sequence on versions older than PostgreSQL 15 #24 #25.
- Nathan's follow-up patch retained inspection of the actual bytes, choosing an endian-independent starting value and replacing the temporary sequence with a permanent sequence plus explicit cleanup #26.
- Tom Lane tested the follow-up and confirmed identical output across endianness #27; Nathan committed it unchanged as e0277d90ac and announced completion in the thread's final message #29, leaving both the support restoration and test fixes landed and backpatched through PostgreSQL 12.