| 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 |
| CommitterBackported | Correctly init/deinit recovery xact environment. Previously we performed VirtualXactLockTableInsert but didn't set MyProc->lxid for Startup process. pg_locks now correctly shows "1/1" for vxid of Startup process during Hot Standby. At end of Hot Standby the Virtual Transaction was not deleted, leading to problems after promoting to normal running for some commands, such as CREATE INDEX CONCURRENTLY. f4a3e679 | REL9_1_STABLE9.1.7REL9_0_STABLE9.0.11 | No linked thread | Nov 29, 2012 |
| Committer | Cleanup VirtualXact at end of Hot Standby edfc84b8 | REL9_2_STABLE9.2.2 | No linked thread | Nov 29, 2012 |
| CommitterBackported | Correctly init fast path fields on PGPROC d3fe5993 | 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 | Nov 29, 2012 |
| Committer | Cleanup VirtualXact at end of Hot Standby. f1e57a4e | 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 | Nov 29, 2012 |