PG10的函数比PG9.6变化不少

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

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 ---如下是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 
可以看到,名字都不一样了...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值