postgresql/src/backend/access
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
..
common WITH CHECK OPTION support for auto-updatable VIEWs 2013-07-18 17:10:16 -04:00
gin Inline ginCompareItemPointers function for speed. 2013-06-29 12:55:34 +03:00
gist Post-pgindent cleanup 2013-06-01 09:38:15 -04:00
hash Add buffer_std flag to MarkBufferDirtyHint(). 2013-06-17 08:02:12 -07:00
heap Adjust HeapTupleSatisfies* routines to take a HeapTuple. 2013-07-22 13:38:44 -04:00
index Fix systable_recheck_tuple() for MVCC scan snapshots. 2013-07-16 20:16:32 -04:00
nbtree Use an MVCC snapshot, rather than SnapshotNow, for catalog scans. 2013-07-02 09:47:01 -04:00
rmgrdesc Add new GUC, max_worker_processes, limiting number of bgworkers. 2013-07-04 11:24:24 -04:00
spgist Avoid deadlocks during insertion into SP-GiST indexes. 2013-06-14 14:26:43 -04:00
transam Fix variable names mentioned in comment to match the code. 2013-07-17 23:32:32 +03:00
Makefile Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00