---如下是9.6的:
https://www.postgresql.org/docs/9.6/static/functions-admin.html
pg_current_xlog_flush_location() pg_lsn Get current transaction log flush location
pg_current_xlog_insert_location() pg_lsn Get current transaction log insert location
pg_current_xlog_location() pg_lsn Get current transaction log write location
---如下是10的:
https://www.postgresql.org/docs/10/static/functions-admin.html
pg_current_wal_flush_lsn() pg_lsn Get current write-ahead log flush location
pg_current_wal_insert_lsn() pg_lsn Get current write-ahead log insert location
pg_current_wal_lsn() pg_lsn Get current write-ahead log write location 可以看到,名字都不一样了...

本文介绍了 PostgreSQL 从 9.6 版本到 10 版本中,关于写向前记录(WAL)相关函数名称的变化。包括获取当前事务日志刷新位置、插入位置及写入位置等关键函数。
4361

被折叠的 条评论
为什么被折叠?



