postgresql/src/backend/commands
Tom Lane 2d2e40e3be Fetch XIDs atomically during vac_truncate_clog().
Because vac_update_datfrozenxid() updates datfrozenxid and datminmxid
in-place, it's unsafe to assume that successive reads of those values will
give consistent results.  Fetch each one just once to ensure sane behavior
in the minimum calculation.  Noted while reviewing Alexander Korotkov's
patch in the same area.

Discussion: <8564.1464116473@sss.pgh.pa.us>
2016-05-24 15:47:51 -04:00
..
Makefile Support CREATE ACCESS METHOD 2016-03-23 23:01:35 -03:00
aggregatecmds.c Fix parallel-safety code for parallel aggregation. 2016-04-05 16:06:15 -04:00
alter.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
amcmds.c Type names should not be quoted 2016-04-01 13:35:48 -03:00
analyze.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
async.c Make all built-in lwlock tranche IDs fixed. 2016-02-02 06:45:55 -05:00
cluster.c Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
collationcmds.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
comment.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
constraint.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
conversioncmds.c Type names should not be quoted 2016-04-01 13:35:48 -03:00
copy.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
createas.c Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
dbcommands.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
define.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
discard.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
dropcmds.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
event_trigger.c Type names should not be quoted 2016-04-01 13:35:48 -03:00
explain.c Tweak EXPLAIN for parallel query to show workers launched. 2016-04-15 11:52:18 -04:00
extension.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
foreigncmds.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
functioncmds.c Fix parallel-safety code for parallel aggregation. 2016-04-05 16:06:15 -04:00
indexcmds.c Disallow creation of indexes on system columns (except for OID). 2016-04-16 12:11:41 -04:00
lockcmds.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
matview.c Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
opclasscmds.c Fix broken dependency-mongering for index operator classes/families. 2016-04-13 23:33:31 -04:00
operatorcmds.c Type names should not be quoted 2016-04-01 13:35:48 -03:00
policy.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
portalcmds.c Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
prepare.c On second thought, disable parallelism for prepared statements. 2016-02-26 16:33:37 +05:30
proclang.c Type names should not be quoted 2016-04-01 13:35:48 -03:00
schemacmds.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
seclabel.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
sequence.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
tablecmds.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
tablespace.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
trigger.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
tsearchcmds.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
typecmds.c Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
user.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
vacuum.c Fetch XIDs atomically during vac_truncate_clog(). 2016-05-24 15:47:51 -04:00
vacuumlazy.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
variable.c Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
view.c Update copyright for 2016 2016-01-02 13:33:40 -05:00