postgresql/src/backend/commands
Robert Haas 38e9f90a22 Fix lazy_scan_heap so that it won't mark pages all-frozen too soon.
Commit a892234f83 added a new bit per
page to the visibility map fork indicating whether the page is
all-frozen, but incorrectly assumed that if lazy_scan_heap chose to
freeze a tuple then that tuple would not need to later be frozen
again. This turns out to be false, because xmin and xmax (and
conceivably xvac, if dealing with tuples from very old releases) could
be frozen at separate times.

Thanks to Andres Freund for help in uncovering and tracking down this
issue.
2016-06-15 14:30:06 -04:00
..
aggregatecmds.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
alter.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
amcmds.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
analyze.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
async.c Make all built-in lwlock tranche IDs fixed. 2016-02-02 06:45:55 -05:00
cluster.c Fix various common mispellings. 2016-06-03 16:08:45 +01: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 pgindent run for 9.6 2016-06-09 18:02:36 -04:00
copy.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
createas.c Stop the executor if no more tuples can be sent from worker to leader. 2016-06-06 14:52:58 -04: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 Fix DROP ACCESS METHOD IF EXISTS. 2016-05-27 11:03:18 -04: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 pgindent run for 9.6 2016-06-09 18:02:36 -04:00
foreigncmds.c pgindent run for 9.6 2016-06-09 18:02:36 -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
Makefile Support CREATE ACCESS METHOD 2016-03-23 23:01:35 -03:00
matview.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
opclasscmds.c Fix broken dependency-mongering for index operator classes/families. 2016-04-13 23:33:31 -04:00
operatorcmds.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
policy.c pgindent run for 9.6 2016-06-09 18:02:36 -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 pgindent run for 9.6 2016-06-09 18:02:36 -04: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 pgindent run for 9.6 2016-06-09 18:02:36 -04:00
tsearchcmds.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
typecmds.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
user.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
vacuum.c Fetch XIDs atomically during vac_truncate_clog(). 2016-05-24 15:47:51 -04:00
vacuumlazy.c Fix lazy_scan_heap so that it won't mark pages all-frozen too soon. 2016-06-15 14:30:06 -04:00
variable.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
view.c Update copyright for 2016 2016-01-02 13:33:40 -05:00