Hello DROP TABLE also has a similar loss window as DROP DATABASE: if the backend dies with kill -9 / immediate shutdown with a committed DROP TABLE waiting for synchronous replication. (create table; alter system set synchronous_standby_names='nosuchstandby'; drop table; kill)
Logging in RecordTransactionCommit right after END_CRIT_SECTION could be a better choice that would fix this, and could work without XactLastCommitStart?
