]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix misleading output from gin_desc().
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Apr 2012 22:10:35 +0000 (18:10 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Apr 2012 22:10:35 +0000 (18:10 -0400)
commit13847713e275baa047e62f00150bc3a814fc68d2
treed32831c9f41dd3067a7ada01fb0caaac988d72f9
parent9b4d973af090694d3128a51b709c61f5a1ecc80f
Fix misleading output from gin_desc().

XLOG_GIN_UPDATE_META_PAGE and XLOG_GIN_DELETE_LISTPAGE records were printed
with a list link field labeled as "blkno", which was confusing, especially
when the link was empty (InvalidBlockNumber).  Print the metapage block
number instead, since that's what's actually being updated.  We could
include the link values too as a separate field, but not clear it's worth
the trouble.

Back-patch to 8.4 where the dubious code was added.
src/backend/access/gin/ginxlog.c