diff options
author | Peter Geoghegan <pg@bowt.ie> | 2023-03-27 16:14:32 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2023-03-27 16:14:32 -0700 |
commit | 637dce2254245321283ade9db1b7cc8d1f8cf308 (patch) | |
tree | 80e661e50d1c9d499311ab82c19309df78e466df /contrib | |
parent | 4efd0bf7eaebb3e3f5a3a6edd0865f6973e709a6 (diff) | |
download | postgresql-637dce2254245321283ade9db1b7cc8d1f8cf308.tar.gz |
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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pg_walinspect/pg_walinspect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_walinspect/pg_walinspect.c b/contrib/pg_walinspect/pg_walinspect.c index 5946b9e6e7..2933734122 100644 --- a/contrib/pg_walinspect/pg_walinspect.c +++ b/contrib/pg_walinspect/pg_walinspect.c @@ -379,7 +379,7 @@ pg_get_wal_block_info(PG_FUNCTION_ARGS) xlogreader = InitXLogReaderState(start_lsn); tmp_cxt = AllocSetContextCreate(CurrentMemoryContext, - "pg_get_block_fpi_info temporary cxt", + "pg_get_wal_block_info temporary cxt", ALLOCSET_DEFAULT_SIZES); while (ReadNextXLogRecord(xlogreader) && |