1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Rename dtrace probes for ongoing xlog -> wal conversion.

xlog-switch becomes wal-switch, and xlog-insert becomes wal-insert.
This commit is contained in:
Robert Haas
2017-02-09 16:40:19 -05:00
parent 85c11324ca
commit 3f01fd4ca0
4 changed files with 6 additions and 6 deletions

View File

@@ -1114,7 +1114,7 @@ XLogInsertRecord(XLogRecData *rdata,
*/
if (isLogSwitch)
{
TRACE_POSTGRESQL_XLOG_SWITCH();
TRACE_POSTGRESQL_WAL_SWITCH();
XLogFlush(EndPos);
/*

View File

@@ -429,7 +429,7 @@ XLogInsert(RmgrId rmid, uint8 info)
XLR_CHECK_CONSISTENCY)) != 0)
elog(PANIC, "invalid xlog info mask %02X", info);
TRACE_POSTGRESQL_XLOG_INSERT(rmid, info);
TRACE_POSTGRESQL_WAL_INSERT(rmid, info);
/*
* In bootstrap mode, we don't actually log anything but XLOG resources;