| Committer | Update comments on rd_newRelfilenodeSubid. Ensure comments accurately reflect state of code given new understanding, and recent changes. Include example code from Noah Misch to illustrate how rd_newRelfilenodeSubid can be reset deterministically. No code changes. c2b32180 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 24, 2012 |
| Committer | Keep rd_newRelfilenodeSubid across overflow. Teach RelationCacheInvalidate() to keep rd_newRelfilenodeSubid across rel cache message overflows, so that behaviour is now fully deterministic. ae9aba69 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 24, 2012 |
| Committer | Fix more weird compiler messages caused by unmatched function prototypes. 42fa810c | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 24, 2012 |
| Committer | Add function prototype from previous commit. 2dcb2ebe | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 24, 2012 |
| Committer | Correct xmax test for COPY FREEZE ef754fb5 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 07, 2012 |
| Committer | Optimize COPY FREEZE with CREATE TABLE also. 1f023f92 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 07, 2012 |
| Committer | Clarify that COPY FREEZE is not a hard rule. Remove message when FREEZE not honoured, clarify reasons in comments and docs. 1eb6cee4 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 07, 2012 |
| CommitterBackported | Must not reach consistency before XLOG_BACKUP_RECORD When waiting for an XLOG_BACKUP_RECORD the minRecoveryPoint will be incorrect, so we must not declare recovery as consistent before we have seen the record. Major bug allowing recovery to end too early in some cases, allowing people to see inconsistent db. This patch to HEAD and 9.2, other fix required for 9.1 and 9.0 6aa2e49a | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+8 more | No linked thread | Dec 05, 2012 |
| CommitterBackported | Avoid holding vmbuffer pin after VACUUM. During VACUUM if we pause to perform a cycle of index cleanup we drop the vmbuffer pin, so we should do the same thing when heap scan completes. This avoids holding vmbuffer pin across the main index cleanup in VACUUM, which could be minutes or hours longer than necessary for correctness. 62656617 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+11 more | No linked thread | Dec 03, 2012 |
| Committer | Refactor inCommit flag into generic delayChkpt flag. Rename PGXACT->inCommit flag into delayChkpt flag, and generalise comments to allow use in other situations, such as the forthcoming potential use in checksum patch. Replace wait loop to look for VXIDs with delayChkpt set. No user visible changes, not behaviour changes at present. f21bb9cf | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 03, 2012 |
| Committer | Clarify locking for PageGetLSN() in XLogCheckBuffer() 7a764990 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 03, 2012 |
| Committer | Clarify when to use PageSetLSN/PageGetLSN(). Update README to explain prerequisites for correct access to LSN fields of a page. Independent chunk removed from checksums patch to reduce size of patch. 1c563a2a | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 03, 2012 |
| Committer | Reduce scope of changes for COPY FREEZE. Allow support only for freezing tuples by explicit command. Previous coding mistakenly extended slightly beyond what was agreed as correct on -hackers. So essentially a partial revoke of earlier work, leaving just the COPY FREEZE command. 5457a130 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 02, 2012 |
| Committer | Rearrange storage of data in xl_running_xacts. Previously we stored all xids mixed together. Now we store top-level xids first, followed by all subxids. Also skip logging any subxids if the snapshot is suboverflowed, since there are potentially large numbers of them and they are not useful in that case anyway. Has value in the envisaged design for decoding of WAL. No planned effect on Hot Standby. 5c117258 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 02, 2012 |
| CommitterBackported | XidEpoch++ if wraparound during checkpoint. If wal_level = hot_standby we update the checkpoint nextxid, though in the case where a wraparound occurred half-way through a checkpoint we would neglect updating the epoch also. Updating the nextxid is arguably the wrong thing to do, but changing that may introduce subtle bugs into hot standby startup, while updating the value doesn't cause any known bugs yet. Minimal fix now to HEAD and backbranches, wider fix later in HEAD. c1113069 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+10 more | No linked thread | Dec 02, 2012 |
| Committer | Clarify operation of online checkpoints. Previous comments left, but were too obscure for such an important aspect of the system. 9f98704b | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 02, 2012 |
| Committer | Second tweak of COPY FREEZE 02aea364 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 01, 2012 |
| Committer | Tweak tests in COPY FREEZE ddf509eb | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 01, 2012 |
| Committer | COPY FREEZE and mark committed on fresh tables. When a relfilenode is created in this subtransaction or a committed child transaction and it cannot otherwise be seen by our own process, mark tuples committed ahead of transaction commit for all COPY commands in same transaction. If FREEZE specified on COPY and pre-conditions met then rows will also be frozen. Both options designed to avoid revisiting rows after commit, increasing performance of subsequent commands after data load and upgrade. pg_restore changes later. 8de72b66 | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+7 more | No linked thread | Dec 01, 2012 |