postgresql/src/include/utils
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
..
.gitignore
acl.h
array.h
ascii.h
attoptcache.h Fix include-guard 2013-07-07 13:36:20 +02:00
builtins.h Add infrastructure for mapping relfilenodes to relation OIDs. 2013-07-22 11:09:10 -04:00
bytea.h
cash.h
catcache.h
combocid.h
date.h
datetime.h
datum.h
dynahash.h
dynamic_loader.h
elog.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
evtcache.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
fmgrtab.h
formatting.h
geo_decls.h
guc_tables.h Add session_preload_libraries configuration parameter 2013-07-12 21:23:50 -04:00
guc.h
help_config.h
hsearch.h
inet.h
int8.h
inval.h
json.h
jsonapi.h Clean up new JSON API typedefs 2013-07-20 06:38:31 -04:00
logtape.h
lsyscache.h
memdebug.h Cooperate with the Valgrind instrumentation framework. 2013-06-26 20:22:25 -04:00
memutils.h Permit super-MaxAllocSize allocations with MemoryContextAllocHuge(). 2013-06-27 14:53:57 -04:00
nabstime.h
numeric.h
palloc.h Permit super-MaxAllocSize allocations with MemoryContextAllocHuge(). 2013-06-27 14:53:57 -04:00
pg_crc_tables.h
pg_crc.h
pg_locale.h
pg_lzcompress.h
pg_rusage.h
plancache.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
portal.h
ps_status.h
rangetypes.h
rbtree.h
rel.h WITH CHECK OPTION support for auto-updatable VIEWs 2013-07-18 17:10:16 -04:00
relcache.h
relfilenodemap.h Add infrastructure for mapping relfilenodes to relation OIDs. 2013-07-22 11:09:10 -04:00
relmapper.h Add infrastructure for mapping relfilenodes to relation OIDs. 2013-07-22 11:09:10 -04:00
reltrigger.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
resowner_private.h
resowner.h
selfuncs.h
snapmgr.h Use an MVCC snapshot, rather than SnapshotNow, for catalog scans. 2013-07-02 09:47:01 -04:00
snapshot.h Adjust HeapTupleSatisfies* routines to take a HeapTuple. 2013-07-22 13:38:44 -04:00
sortsupport.h
spccache.h
syscache.h Use an MVCC snapshot, rather than SnapshotNow, for catalog scans. 2013-07-02 09:47:01 -04:00
timeout.h
timestamp.h
tqual.h Adjust HeapTupleSatisfies* routines to take a HeapTuple. 2013-07-22 13:38:44 -04:00
tuplesort.h Use type "int64" for memory accounting in tuplesort.c/tuplestore.c. 2013-07-04 23:13:54 -04:00
tuplestore.h
typcache.h
tzparser.h
uuid.h
varbit.h
xml.h