model-writtenrun 9034 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Janes reported that pg_stat_subscription.last_msg_send_time was usually NULL and supplied a patch to initialize the timestamp before sending logical decoding messages in #1.
- Jeff Janes also questioned whether to retain the timestamp and monitoring column, given how long the defect had gone unnoticed, in #1.
- Michael Paquier traced timestamp reservation and initialization, confirmed that initialization happened too late, and argued for retaining the monitoring capability in #2.
- Michael Paquier committed the patch unchanged as 5f6b1eb0cf and reported reproducing the problem with logical replication and pgbench, with backpatches through PostgreSQL 9.4 because the defect dated to logical decoding's introduction, in #3.
- Jeff Janes confirmed that the column now looked reasonable in #4, closing the thread with the fix landed and no further changes requested.