postgresql/contrib/pageinspect
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 Improve pageinspect module 2015-11-25 16:31:55 +03:00
brinfuncs.c Add missing checks to some of pageinspect's BRIN functions 2016-03-28 10:57:42 -03:00
btreefuncs.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
fsmfuncs.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
ginfuncs.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
heapfuncs.c Replace printf format %i by %d 2016-04-08 12:42:58 -04:00
pageinspect--1.0--1.1.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect--1.1--1.2.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect--1.2--1.3.sql pageinspect/BRIN: minor tweaks 2014-12-02 12:20:50 -03:00
pageinspect--1.3--1.4.sql Add forgotten file in commit d6061f83a1 2015-11-25 16:59:07 +03:00
pageinspect--1.4.sql Improve pageinspect module 2015-11-25 16:31:55 +03:00
pageinspect--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect.control Improve pageinspect module 2015-11-25 16:31:55 +03:00
rawpage.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00