git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6374618) | patch
Move generic snapshot related code from tqual.h to snapmgr.h.
2019年1月22日 01:03:15 +0000 (17:03 -0800)
2019年1月22日 01:06:41 +0000 (17:06 -0800)
commit b7eda3e0e33402a7727253e6f307ca96b92eb23d
Move generic snapshot related code from tqual.h to snapmgr.h.

The code in tqual.c is largely heap specific. Due to the upcoming
pluggable storage work, it therefore makes sense to move it into
access/heap/ (as the file's header notes, the tqual name isn't very
good).

But the various statically allocated snapshot and snapshot
initialization functions are now (see previous commit) generic and do
not depend on functions declared in tqual.h anymore. Therefore move.
Also move XidInMVCCSnapshot as that's useful for future AMs, and
already used outside of tqual.c.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
17 files changed:
contrib/amcheck/verify_nbtree.c diff | blob | blame | history
contrib/sepgsql/database.c diff | blob | blame | history
contrib/sepgsql/proc.c diff | blob | blame | history
contrib/sepgsql/relation.c diff | blob | blame | history
contrib/sepgsql/schema.c diff | blob | blame | history
src/backend/access/nbtree/nbtsort.c diff | blob | blame | history
src/backend/catalog/catalog.c diff | blob | blame | history
src/backend/commands/async.c diff | blob | blame | history
src/backend/commands/constraint.c diff | blob | blame | history
src/backend/executor/execIndexing.c diff | blob | blame | history
src/backend/replication/logical/origin.c diff | blob | blame | history
src/backend/replication/logical/snapbuild.c diff | blob | blame | history
src/backend/utils/adt/selfuncs.c diff | blob | blame | history
src/backend/utils/time/snapmgr.c diff | blob | blame | history
src/backend/utils/time/tqual.c diff | blob | blame | history
src/include/utils/snapmgr.h diff | blob | blame | history
src/include/utils/tqual.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /