postgresql/src/backend
Heikki Linnakangas b7551339df Fix off-by-one error in calculating subtrans/multixact truncation point.
If there were no subtransactions (or multixacts) active, we would calculate
the oldestxid == next xid. That's correct, but if next XID happens to be
on the next pg_subtrans (pg_multixact) page, the page does not exist yet,
and SimpleLruTruncate will produce an "apparent wraparound" warning. The
warning is harmless in this case, but looks very alarming to users.

Backpatch to all supported versions. Patch and analysis by Thomas Munro.
2015-07-23 01:30:09 +03:00
..
access Fix off-by-one error in calculating subtrans/multixact truncation point. 2015-07-23 01:30:09 +03:00
bootstrap Protect against multixact members wraparound 2015-04-28 11:32:53 -03:00
catalog Rename pg_shdepend.c's typedef "objectType" to SharedDependencyObjectType. 2015-05-24 13:03:45 -04:00
commands Improve error message and hint for ALTER COLUMN TYPE can't-cast failure. 2015-06-12 11:54:03 -04:00
executor Fix ExecOpenScanRelation to take a lock on a ROW_MARK_COPY relation. 2015-03-24 15:53:06 -04:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib Misc comment typo fixes. 2014-12-16 16:38:20 +02:00
libpq Check return values of sensitive system library calls. 2015-05-18 10:02:35 -04:00
main Report more information if pg_perm_setlocale() fails at startup. 2015-06-09 13:37:08 -04:00
nodes Fix planner's cost estimation for SEMI/ANTI joins with inner indexscans. 2015-06-03 11:58:47 -04:00
optimizer Fix add_rte_to_flat_rtable() for recent feature additions. 2015-07-21 20:03:58 -04:00
parser Remove spurious semicolons. 2015-03-31 15:13:35 +03:00
po Translation updates 2015-05-18 08:38:34 -04:00
port Make WaitLatchOrSocket's timeout detection more robust. 2015-07-18 11:47:13 -04:00
postmaster Fix postmaster's handling of a startup-process crash. 2015-07-09 13:22:23 -04:00
regex Fix incorrect search for "x?" style matches in creviterdissect(). 2014-09-23 20:26:21 -04:00
replication Fix logical decoding bug leading to inefficient reopening of files. 2015-07-07 13:12:59 +02:00
rewrite Mark views created from tables as replication identity 'nothing' 2015-05-01 13:03:23 -04:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:31 -04:00
storage Fix a couple of bugs with wal_log_hints. 2015-06-26 12:39:22 +03:00
tcop Be more careful to not lose sync in the FE/BE protocol. 2015-02-02 17:09:46 +02:00
tsearch Cope with more than 64K phrases in a thesaurus dictionary. 2014-11-06 20:52:47 -05:00
utils Fix a low-probability crash in our qsort implementation. 2015-07-16 22:57:46 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile AIX: Link the postgres executable with -Wl,-brtllib. 2015-07-15 21:00:30 -04:00
nls.mk Translation updates 2015-02-01 23:18:42 -05:00