Skip site navigation (1) Skip section navigation (2)

pgsql: Fix misleading output from gin_desc().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix misleading output from gin_desc().
Date: 2012-04-06 22:11:03
Message-ID: E1SGHN1-0008TT-Nq@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3a7fdb7068830db6796b66c551520c36719fc74c

Modified Files
--------------
src/backend/access/gin/ginxlog.c |    8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-04-06 23:00:52
Subject: pgsql: Update URL for pgtclng project.
Previous:From: Tom LaneDate: 2012-04-06 20:59:03
Subject: pgsql: Fix broken comparetup_datum code.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group