postgresql/contrib/pgstattuple
Tom Lane eb5c404b17 Minor code-cleanliness improvements for btree.
Make the btree page-flags test macros (P_ISLEAF and friends) return clean
boolean values, rather than values that might not fit in a bool.  Use them
in a few places that were randomly referencing the flag bits directly.

In passing, change access/nbtree/'s only direct use of BUFFER_LOCK_SHARE to
BT_READ.  (Some think we should go the other way, but as long as we have
BT_READ/BT_WRITE, let's use them consistently.)

Masahiko Sawada, reviewed by Doug Doole

Discussion: https://postgr.es/m/CAD21AoBmWPeN=WBB5Jvyz_Nt3rmW1ebUyAnk3ZbJP3RMXALJog@mail.gmail.com
2017-09-18 16:36:28 -04:00
..
expected
sql
.gitignore
Makefile
pgstatapprox.c
pgstatindex.c
pgstattuple--1.0--1.1.sql
pgstattuple--1.1--1.2.sql
pgstattuple--1.2--1.3.sql
pgstattuple--1.3--1.4.sql
pgstattuple--1.4--1.5.sql
pgstattuple--1.4.sql
pgstattuple--unpackaged--1.0.sql
pgstattuple.c Minor code-cleanliness improvements for btree. 2017-09-18 16:36:28 -04:00
pgstattuple.control