]> granicus.if.org Git - postgresql/commit
Move remaining code from tqual.[ch] to heapam.h / heapam_visibility.c.
authorAndres Freund <andres@anarazel.de>
Tue, 22 Jan 2019 01:03:15 +0000 (17:03 -0800)
committerAndres Freund <andres@anarazel.de>
Tue, 22 Jan 2019 01:07:10 +0000 (17:07 -0800)
commitc91560defc57f89f7e88632ea14ae77b5cec78ee
tree250740f86c98f29eb20bdacf816ced13579c6a92
parentb7eda3e0e33402a7727253e6f307ca96b92eb23d
Move remaining code from tqual.[ch] to heapam.h / heapam_visibility.c.

Given these routines are heap specific, and that there will be more
generic visibility support in via table AM, it makes sense to move the
prototypes to heapam.h (routines like HeapTupleSatisfiesVacuum will
not be exposed in a generic fashion, because they are too storage
specific).

Similarly, the code in tqual.c is specific to heap, so moving it into
access/heap/ makes sense.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
32 files changed:
contrib/pg_visibility/pg_visibility.c
contrib/pgrowlocks/pgrowlocks.c
contrib/pgstattuple/pgstatapprox.c
contrib/pgstattuple/pgstattuple.c
src/backend/access/heap/Makefile
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam_visibility.c [moved from src/backend/utils/time/tqual.c with 99% similarity]
src/backend/access/heap/pruneheap.c
src/backend/access/heap/rewriteheap.c
src/backend/access/heap/tuptoaster.c
src/backend/access/heap/vacuumlazy.c
src/backend/access/index/genam.c
src/backend/access/spgist/spgvacuum.c
src/backend/access/transam/transam.c
src/backend/access/transam/xact.c
src/backend/catalog/index.c
src/backend/commands/analyze.c
src/backend/commands/async.c
src/backend/commands/cluster.c
src/backend/executor/nodeBitmapHeapscan.c
src/backend/executor/nodeModifyTable.c
src/backend/executor/nodeSamplescan.c
src/backend/replication/logical/reorderbuffer.c
src/backend/replication/logical/snapbuild.c
src/backend/storage/ipc/procarray.c
src/backend/storage/lmgr/predicate.c
src/backend/utils/adt/ri_triggers.c
src/backend/utils/cache/inval.c
src/backend/utils/time/Makefile
src/include/access/heapam.h
src/include/utils/snapshot.h
src/include/utils/tqual.h [deleted file]