Filter:

Commits in week 45 (Oct 30 - Nov 05, 2006)

Commits10 commits of which 4 backported
0Author
10Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedFix recently-identified PITR recovery hazard: the base backup could contain stale relcache init files (pg_internal.init), and there is no mechanism for updating them during WAL replay. Easiest solution is just to delete the init files at conclusion of startup, and let the first backend started in each database take care of rebuilding the init file. Simon Riggs and Tom Lane.
76d5667b
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+19 more
No linked threadNov 05, 2006
CommitterFix recently-understood problems with handling of XID freezing, particularly in PITR scenarios. We now WAL-log the replacement of old XIDs with FrozenTransactionId, so that such replacement is guaranteed to propagate to PITR slave databases. Also, rather than relying on hint-bit updates to be preserved, pg_clog is not truncated until all instances of an XID are known to have been replaced by FrozenTransactionId. Add new GUC variables and pg_autovacuum columns to allow management of the freezing policy, so that users can trade off the size of pg_clog against the amount of freezing work done. Revise the already-existing code that forces autovacuum of tables approaching the wraparound point to make it more bulletproof; also, revise the autovacuum logic so that anti-wraparound vacuuming is done per-table rather than per-database. initdb forced because of changes in pg_class, pg_database, and pg_autovacuum catalogs. Heikki Linnakangas, Simon Riggs, and Tom Lane.
48188e16
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 05, 2006
CommitterAdd note about space usage of 'manual' approach to clustering, per suggestion from Sergey Koposov. Also some other minor editing.
10c70b86
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 04, 2006
CommitterBackportedCorrect documentation error: in 8.1 and 8.2, %p in archive and restore command strings inserts relative not absolute path of file to process. This is a side-effect of 2005-07-04 change that makes the server use relative paths in general. Noted by Bernd Helmle.
6fada498
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+19 more
No linked threadNov 04, 2006
CommitterMention 'void' as the proper return type when there's nothing to return, per suggestion from Joachim Wieland.
17a814ca
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 03, 2006
CommitterBackportedFix "failed to re-find parent key" btree VACUUM failure by tweaking _bt_pagedel to recover from the failure: just search the whole parent level if searching to the right fails. This does nothing for the underlying problem that index keys became out-of-order in the grandparent level. However, we believe that there is no other consequence worse than slightly inefficient searching, so this narrow patch seems like the safest solution for the back branches.
6f48f848
REL8_1_STABLE8.1.6REL8_0_STABLE8.0.10REL7_4_STABLE7.4.15
No linked threadNov 01, 2006
CommitterFix "failed to re-find parent key" btree VACUUM failure by revising page deletion code to avoid the case where an upper-level btree page remains "half dead" for a significant period of time, and to block insertions into a key range that is in process of being re-assigned to the right sibling of the deleted page's parent. This prevents the scenario reported by Ed L. wherein index keys could become out-of-order in the grandparent index level.
70ce5c90
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 01, 2006
CommitterBackportedpg_restore failed on tar-format archives if they contained large objects (blobs) with comments, per bug #2727 from Konstantin Pelepelin. Mea culpa for not having tested this case. Back-patch to 8.1; prior branches don't dump blob comments at all.
19d0c46d
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+19 more
No linked threadNov 01, 2006
CommitterUpdate zic database to tzdata2006n.
c1fdbba4
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadNov 01, 2006
CommitterFix misstatement about the results of using -1 with BEGIN.
7e63445d
master8.2beta3REL_19_STABLE8.2beta3REL_18_STABLE8.2beta3REL_17_STABLE8.2beta3REL_16_STABLE8.2beta3REL_15_STABLE8.2beta3REL_14_STABLE8.2beta3REL_13_STABLE8.2beta3+18 more
No linked threadOct 31, 2006