model-writtenrun 3042 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed removing log_cnt from pg_sequence_read_tuple() because pg_dump and pg_upgrade need only last_value and is_called, while exposing a WAL-specific counter would complicate his proposed sequence access methods #1.
- Nathan Bossart supported the removal, noting that log_cnt remained accessible by querying the sequence directly, and suggested reconsidering the function name because it would no longer return the entire sequence tuple #2.
- Michael explained that sequence access methods could use custom storage attributes and proposed several names; Nathan agreed on pg_get_sequence_data() #3 #4.
- Michael submitted a revised patch incorporating the rename throughout the implementation, catalog, pg_dump, and regression tests, and Nathan approved it #5 #6.
- Michael committed the revised patch as a83a944e9f, changing the column-count macro name and bumping the catalog version, then confirmed completion with no outstanding work identified in the thread #7.