Re: pageinspect: Hash index support
Jeff Janes <jeff.janes@gmail.com>
From: Jeff Janes <jeff.janes@gmail.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Jesper Pedersen <jesper.pedersen@redhat.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2016-09-21T16:08:50Z
Lists: pgsql-hackers
On Tue, Sep 20, 2016 at 11:14 PM, Michael Paquier <michael.paquier@gmail.com > wrote: > > + <para> > + The type information will be '<literal>m</literal>' for a metadata > page, > + '<literal>v</literal>' for an overflow page, > '<literal>b</literal>' for a bucket page, > + '<literal>i</literal>' for a bitmap page, and > '<literal>u</literal>' for an unused page. > + </para> > > Other functions don't go into this level of details, so I would just > rip out this paragraph. > I'd argue that the other functions should go into that level detail in some places. Pageinspect is needlessly hard to use; not all precedent is good precedent. Some of them do refer you to header files or README files, which can be useful. But the abbreviations used here are not explained in any header file or README file, so I think the right place to explain them is the documentation in that case. Or change from the single-letter strings to full name strings so they are self-documenting. Cheers, Jeff
Commits
-
Fix incorrect typecast.
- b4316928d57b 10.0 landed
-
In pageinspect/hashfuncs.c, avoid crashes on alignment-picky machines.
- 14e9b18fed28 10.0 landed
-
pageinspect: Support hash indexes.
- 08bf6e529587 10.0 landed
-
Add uuid to the set of types supported by contrib/btree_gist.
- 11da83a0e70d 10.0 cited
-
Allow CREATE EXTENSION to follow extension update paths.
- 40b449ae84dc 10.0 cited