[控场AI]
概念pg_current_wal_insert_lsn()

pg_current_wal_insert_lsn

PostgreSQL 函数,返回当前会话最近一次 WAL 插入的位置(LSN),用于获取主库上已持久化的最新数据点。

来源文章