postgresql/contrib/pg_visibility
Kevin Grittner a343e223a5 Revert no-op changes to BufferGetPage()
The reverted changes were intended to force a choice of whether any
newly-added BufferGetPage() calls needed to be accompanied by a
test of the snapshot age, to support the "snapshot too old"
feature.  Such an accompanying test is needed in about 7% of the
cases, where the page is being used as part of a scan rather than
positioning for other purposes (such as DML or vacuuming).  The
additional effort required for back-patching, and the doubt whether
the intended benefit would really be there, have indicated it is
best just to rely on developers to do the right thing based on
comments and existing usage, as we do with many other conventions.

This change should have little or no effect on generated executable
code.

Motivated by the back-patching pain of Tom Lane and Robert Haas
2016-04-20 08:31:19 -05:00
..
Makefile Add pg_visibility contrib module. 2016-03-08 08:42:01 -05:00
pg_visibility--1.0.sql Add pg_visibility contrib module. 2016-03-08 08:42:01 -05:00
pg_visibility.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
pg_visibility.control Add pg_visibility contrib module. 2016-03-08 08:42:01 -05:00