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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ff36700) | patch
Add txid_current_ifassigned().
2016年8月23日 14:30:52 +0000 (10:30 -0400)
2016年8月23日 14:30:52 +0000 (10:30 -0400)
commit 86f31695f3b54211226949de519063bbf248e8c4
Add txid_current_ifassigned().

Add a variant of txid_current() that returns NULL if no transaction ID
is assigned. This version can be used even on a standby server,
although it will always return NULL since no transaction IDs can be
assigned during recovery.

Craig Ringer, per suggestion from Jim Nasby. Reviewed by Petr Jelinek
and by me.
doc/src/sgml/func.sgml diff | blob | blame | history
src/backend/utils/adt/txid.c diff | blob | blame | history
src/include/catalog/pg_proc.h diff | blob | blame | history
src/include/utils/builtins.h diff | blob | blame | history
src/test/regress/expected/txid.out diff | blob | blame | history
src/test/regress/sql/txid.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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