postgresql/src
Kevin Grittner 2cc41acd8f Fix hash index vs "snapshot too old" problemms
Hash indexes are not WAL-logged, and so do not maintain the LSN of
index pages.  Since the "snapshot too old" feature counts on
detecting error conditions using the LSN of a table and all indexes
on it, this makes it impossible to safely do early vacuuming on any
table with a hash index, so add this to the tests for whether the
xid used to vacuum a table can be adjusted based on
old_snapshot_threshold.

While at it, add a paragraph to the docs for old_snapshot_threshold
which specifically mentions this and other aspects of the feature
which may otherwise surprise users.

Problem reported and patch reviewed by Amit Kapila
2016-05-06 07:47:12 -05:00
..
backend Fix hash index vs "snapshot too old" problemms 2016-05-06 07:47:12 -05:00
bin Fix psql's \ev and \sv commands so that they handle view reloptions. 2016-05-06 12:48:27 +01:00
common Remove redundant message in AddUserToTokenDacl(). 2016-04-06 23:40:51 -04:00
fe_utils Move and rename fmtReloptionsArray(). 2016-05-06 12:45:36 +01:00
include Fix hash index vs "snapshot too old" problemms 2016-05-06 07:47:12 -05:00
interfaces Rename strtoi() to strtoint(). 2016-04-23 16:53:15 -04:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl Fix freshly-introduced PL/Python portability bug. 2016-04-11 18:17:20 -04:00
port Fix typo in VS2015 patch 2016-04-29 09:49:31 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Rename tsvector delete() to ts_delete(), and filter() to ts_filter(). 2016-05-05 19:43:32 -04:00
timezone Update time zone data files to tzdata release 2016d. 2016-05-05 20:08:58 -04:00
tools Again update typedefs.list file in preparation for pgindent run 2016-05-02 09:23:55 -04:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS
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 Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00