2021
01-13
01-13
postgresql之使用lsn 获取 wal文件名的实例
10.0及以后版本:pg_walfile_name()用法:postgres=#selectpg_current_wal_lsn(),pg_walfile_name(pg_current_wal_lsn()),pg_walfile_name_offset(pg_current_wal_lsn());pg_current_wal_lsn|pg_walfile_name|pg_walfile_name_offset--------------------+--------------------------+---------------------------------2/C000840|00000001000000020000000C|(00000001000000020000000C,...
继续阅读 >