mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
pg_walinspect: Adjust memory context name.
Correct the name of the memory context used by the
pg_get_wal_block_info() SQL-callable function.
Oversight in commit 9ecb134a93
.
This commit is contained in:
@ -379,7 +379,7 @@ pg_get_wal_block_info(PG_FUNCTION_ARGS)
|
|||||||
xlogreader = InitXLogReaderState(start_lsn);
|
xlogreader = InitXLogReaderState(start_lsn);
|
||||||
|
|
||||||
tmp_cxt = AllocSetContextCreate(CurrentMemoryContext,
|
tmp_cxt = AllocSetContextCreate(CurrentMemoryContext,
|
||||||
"pg_get_block_fpi_info temporary cxt",
|
"pg_get_wal_block_info temporary cxt",
|
||||||
ALLOCSET_DEFAULT_SIZES);
|
ALLOCSET_DEFAULT_SIZES);
|
||||||
|
|
||||||
while (ReadNextXLogRecord(xlogreader) &&
|
while (ReadNextXLogRecord(xlogreader) &&
|
||||||
|
Reference in New Issue
Block a user