postgresql/contrib/pgrowlocks
Robert Haas 0518eceec3 Adjust HeapTupleSatisfies* routines to take a HeapTuple.
Previously, these functions took a HeapTupleHeader, but upcoming
patches for logical replication will introduce new a new snapshot
type under which the tuple's TID will be used to lookup (CMIN, CMAX)
for visibility determination purposes.  This makes that information
available.  Code churn is minimal since HeapTupleSatisfiesVisibility
took the HeapTuple anyway, and deferenced it before calling the
satisfies function.

Independently of logical replication, this allows t_tableOid and
t_self to be cross-checked via assertions in tqual.c.  This seems
like a useful way to make sure that all callers are setting these
values properly, which has been previously put forward as
desirable.

Andres Freund, reviewed by Álvaro Herrera
2013-07-22 13:38:44 -04:00
..
Makefile Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
pgrowlocks--1.0--1.1.sql Fix typo in update scripts for some contrib modules. 2013-07-19 04:13:01 +09:00
pgrowlocks--1.1.sql Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
pgrowlocks--unpackaged--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
pgrowlocks.c Adjust HeapTupleSatisfies* routines to take a HeapTuple. 2013-07-22 13:38:44 -04:00
pgrowlocks.control Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00