postgresql/src
Kevin Grittner bf9a60ee33 Fix interaction between CREATE INDEX and "snapshot too old".
Since indexes are created without valid LSNs, an index created
while a snapshot older than old_snapshot_threshold existed could
cause queries to return incorrect results when those old snapshots
were used, if any relevant rows had been subject to early pruning
before the index was built.  Prevent usage of a newly created index
until all such snapshots are released, for relations where this can
happen.

Questions about the interaction of "snapshot too old" with index
creation were initially raised by Andres Freund.

Reviewed by Robert Haas.
2016-06-10 09:25:31 -05:00
..
backend Fix interaction between CREATE INDEX and "snapshot too old". 2016-06-10 09:25:31 -05:00
bin pgindent run for 9.6 2016-06-09 18:02:36 -04:00
common pgindent run for 9.6 2016-06-09 18:02:36 -04:00
fe_utils Fix comment. 2016-05-15 17:04:01 -04:00
include Fix interaction between CREATE INDEX and "snapshot too old". 2016-06-10 09:25:31 -05:00
interfaces pgindent run for 9.6 2016-06-09 18:02:36 -04:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl pgindent run for 9.6 2016-06-09 18:02:36 -04:00
port pgindent run for 9.6 2016-06-09 18:02:36 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test pgindent run for 9.6 2016-06-09 18:02:36 -04:00
timezone Update time zone data files to tzdata release 2016d. 2016-05-05 20:08:58 -04:00
tools Yet again update typedefs.list file in preparation for pgindent run 2016-06-09 12:16:17 -04:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.global.in Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:26 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00