Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 637dce2

Browse files
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 9ecb134.
1 parent 4efd0bf commit 637dce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_walinspect/pg_walinspect.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ pg_get_wal_block_info(PG_FUNCTION_ARGS)
379379
xlogreader = InitXLogReaderState(start_lsn);
380380

381381
tmp_cxt = AllocSetContextCreate(CurrentMemoryContext,
382-
"pg_get_block_fpi_info temporary cxt",
382+
"pg_get_wal_block_info temporary cxt",
383383
ALLOCSET_DEFAULT_SIZES);
384384

385385
while (ReadNextXLogRecord(xlogreader) &&

0 commit comments

Comments
 (0)