projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4efd0bf
)
pg_walinspect: Adjust memory context name.
author
Peter Geoghegan
<pg@bowt.ie>
Mon, 27 Mar 2023 23:14:32 +0000
(16:14 -0700)
committer
Peter Geoghegan
<pg@bowt.ie>
Mon, 27 Mar 2023 23:14:32 +0000
(16:14 -0700)
Correct the name of the memory context used by the
pg_get_wal_block_info() SQL-callable function.
Oversight in commit
9ecb134a93
.
contrib/pg_walinspect/pg_walinspect.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_walinspect/pg_walinspect.c
b/contrib/pg_walinspect/pg_walinspect.c
index 5946b9e6e7121f30bd5c66ab415bd706a864cb8f..2933734122b78330f740cad7669efaf4945bb486 100644
(file)
--- 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) &&