Commits in 2012
Commits71 commits
0Author
71Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| 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. | 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 | 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. | 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 | Dec 24, 2012 | |
| Committer | Fix more weird compiler messages caused by unmatched function prototypes. | 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 | Dec 24, 2012 | |
| Committer | Add function prototype from previous commit. | 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 | Dec 24, 2012 | |
| Committer | Correct xmax test for COPY FREEZE | 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 | Dec 07, 2012 | |
| Committer | Optimize COPY FREEZE with CREATE TABLE also. | 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 | 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. | 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 | 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 | 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 | 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. | 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 | 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. | 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 | Dec 03, 2012 | |
| Committer | Clarify locking for PageGetLSN() in XLogCheckBuffer() | 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 | 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. | 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 | 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. | 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 | 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. | 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 | 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. | 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 | Dec 02, 2012 | |
| Committer | Clarify operation of online checkpoints. Previous comments left, but were too obscure for such an important aspect of the system. | 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 | Dec 02, 2012 | |
| Committer | Second tweak of COPY FREEZE | 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 | Dec 01, 2012 | |
| Committer | Tweak tests in COPY FREEZE | 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 | 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. | 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 | 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. | REL9_1_STABLE9.1.7REL9_0_STABLE9.0.11 | Nov 29, 2012 | |
| Committer | Cleanup VirtualXact at end of Hot Standby | REL9_2_STABLE9.2.2 | Nov 29, 2012 | |
| CommitterBackported | Correctly init fast path fields on PGPROC | 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 | Nov 29, 2012 | |
| Committer | Cleanup VirtualXact at end of Hot Standby. | 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 | Nov 29, 2012 | |
| CommitterBackported | Skip searching for subxact locks at commit. At commit all standby locks are released for the top-level transaction, so searching for locks for each subtransaction is both pointless and costly (N^2) in the presence of many AccessExclusiveLocks. | 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 | Nov 13, 2012 | |
| CommitterBackported | Clarify docs on hot standby lock release | 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 | Nov 13, 2012 | |
| CommitterBackported | Fix orphan on cancel of drop index concurrently. Canceling DROP INDEX CONCURRENTLY during wait could allow an orphaned index to be left behind which could not be dropped. | 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 | Oct 19, 2012 | |
| CommitterBackported | Isolation test for DROP INDEX CONCURRENTLY for recent concurrent changes. | 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 | Oct 18, 2012 | |
| CommitterBackported | Re-think guts of DROP INDEX CONCURRENTLY. Concurrent behaviour was flawed when using a two-step process, so add an additional phase of processing to ensure concurrency for both SELECTs and INSERT/UPDATE/DELETEs. | 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 | Oct 18, 2012 | |
| CommitterBackported | Revert tests for drop index concurrently. | 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 | Oct 18, 2012 | |
| CommitterBackported | Add isolation tests for DROP INDEX CONCURRENTLY. Backpatch to 9.2 to ensure bugs are fixed. | 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 | Oct 18, 2012 | |
| CommitterBackported | Fix typo in previous commit | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+12 more | Oct 17, 2012 | |
| CommitterBackported | Add hash index caution to CREATE INDEX docs | REL8_4_STABLE8.4.15REL8_3_STABLE8.3.22 | Oct 17, 2012 | |
| CommitterBackported | Clarify hash index caution and copy to CREATE INDEX docs | 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 | Oct 17, 2012 | |
| Committer | Use tablespace_option consistently on doc page | 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 | Oct 09, 2012 | |
| Committer | Add microsecs/op display to pg_test_fsync utility | 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 | Oct 09, 2012 | |
| CommitterBackported | Fix bufmgr so CHECKPOINT_END_OF_RECOVERY behaves as a shutdown checkpoint. Recovery code documents clearly that a shutdown checkpoint is executed at end of recovery - a shutdown checkpoint WAL record is written but the buffer manager had been altered to treat end of recovery as a normal checkpoint. This bug exacerbates the bufmgr relpersistence bug. | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+9 more | Sep 16, 2012 | |
| CommitterBackported | Turn off WalSender keepalives by default, users can enable if desired | 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 | Aug 09, 2012 | |
| CommitterBackported | Ensure all replication message info is available and correct via WalRcv | 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 | Aug 09, 2012 | |
| Committer | Force archive_status of .done for xlogs created by dearchival/replication. This prevents spurious attempts to archive xlog files after promotion of standby, a bug introduced by cascading replication patch in 9.2. | REL9_2_STABLE9.2beta4 | Aug 08, 2012 | |
| CommitterBackported | Doc correction to point out that 9.2+ can overwrite pg_xlog files. | 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 | Aug 08, 2012 | |
| CommitterBackported | Fix minor bug in XLogFileRead() that accidentally worked. Cascading replication copied the incoming file into pg_xlog but didn't set path correctly, so the first attempt to open file failed causing it to loop around and look for file in pg_xlog. So the earlier coding worked, but accidentally rather than by design. | 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 | Aug 08, 2012 | |
| CommitterBackported | fsync backup_label after pg_start_backup() | master9.3beta1REL_19_STABLE9.3beta1REL_18_STABLE9.3beta1REL_17_STABLE9.3beta1REL_16_STABLE9.3beta1REL_15_STABLE9.3beta1REL_14_STABLE9.3beta1REL_13_STABLE9.3beta1+12 more | Aug 07, 2012 | |
| Committer | Revert error message on GLOBAL/LOCAL pending further discussion | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 10, 2012 | |
| Committer | Add ERROR msg for GLOBAL/LOCAL TEMP is not yet implemented | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 09, 2012 | |
| CommitterBackported | Fix bug in early startup of Hot Standby with subtransactions. When HS startup is deferred because of overflowed subtransactions, ensure that we re-initialize KnownAssignedXids for when both existing and incoming snapshots have non-zero qualifying xids. | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+10 more | Jun 08, 2012 | |
| CommitterBackported | Wake WALSender to reduce data loss at failover for async commit. WALSender now woken up after each background flush by WALwriter, avoiding multi-second replication delay for an all-async commit workload. Replication delay reduced from 7s with default settings to 200ms, allowing significantly reduced data loss at failover. | REL9_1_STABLE9.1.5REL9_0_STABLE9.0.9 | Jun 07, 2012 | |
| Committer | Wake WALSender to reduce data loss at failover for async commit. WALSender now woken up after each background flush by WALwriter, avoiding multi-second replication delay for an all-async commit workload. Replication delay reduced from 7s with default settings to 200ms and often much less, allowing significantly reduced data loss at failover. | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 07, 2012 | |
| CommitterBackported | Avoid early reuse of btree pages, causing incorrect query results. When we allowed read-only transactions to skip assigning XIDs we introduced the possibility that a fully deleted btree page could be reused. This broke the index link sequence which could then lead to indexscans silently returning fewer rows than would have been correct. The actual incidence of silent errors from this is thought to be very low because of the exact workload required and locking pre-conditions. Fix is to remove pages only if index page opaque->btpo.xact precedes RecentGlobalXmin. | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+12 more | Jun 01, 2012 | |
| Committer | Improve description of pg_stat_statements normalisation in release notes. | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 01, 2012 | |
| Committer | Clarify description of covering indexes in release notes | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 01, 2012 | |
| Committer | Copy editing of release notes for couple of my items. | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 01, 2012 | |
| Committer | After any checkpoint, close all smgr files handles in bgwriter | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 01, 2012 | |
| Committer | Checkpointer starts before bgwriter to avoid missing fsync requests. Noted while testing Hot Standby startup. | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 01, 2012 | |
| Committer | Provide interim statistics while in mid-checkpoint. Re-implements similar functionality in 9.1 and previously which was removed during split of checkpointer and bgwriter. | master9.2beta3REL_19_STABLE9.2beta3REL_18_STABLE9.2beta3REL_17_STABLE9.2beta3REL_16_STABLE9.2beta3REL_15_STABLE9.2beta3REL_14_STABLE9.2beta3REL_13_STABLE9.2beta3+8 more | Jun 01, 2012 | |
| Committer | Only throw recovery conflicts when InHotStandby. Bug fix to recent patch to allow Index Only Scans on Hot Standby. | master9.2beta2REL_19_STABLE9.2beta2REL_18_STABLE9.2beta2REL_17_STABLE9.2beta2REL_16_STABLE9.2beta2REL_15_STABLE9.2beta2REL_14_STABLE9.2beta2REL_13_STABLE9.2beta2+8 more | May 31, 2012 | |
| CommitterBackported | Ensure backwards compatibility for GetStableLatestTransactionId() | master9.2beta2REL_19_STABLE9.2beta2REL_18_STABLE9.2beta2REL_17_STABLE9.2beta2REL_16_STABLE9.2beta2REL_15_STABLE9.2beta2REL_14_STABLE9.2beta2REL_13_STABLE9.2beta2+10 more | May 12, 2012 | |
| CommitterBackported | Remove extraneous #include "storage/proc.h" | master9.2beta2REL_19_STABLE9.2beta2REL_18_STABLE9.2beta2REL_17_STABLE9.2beta2REL_16_STABLE9.2beta2REL_15_STABLE9.2beta2REL_14_STABLE9.2beta2REL_13_STABLE9.2beta2+10 more | May 11, 2012 | |
| CommitterBackported | Ensure age() returns a stable value rather than the latest value | master9.2beta2REL_19_STABLE9.2beta2REL_18_STABLE9.2beta2REL_17_STABLE9.2beta2REL_16_STABLE9.2beta2REL_15_STABLE9.2beta2REL_14_STABLE9.2beta2REL_13_STABLE9.2beta2+10 more | May 11, 2012 | |
| Committer | Rename BgWriterShmem/Request to CheckpointerShmem/Request | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | May 09, 2012 | |
| Committer | Rename BgWriterCommLock to CheckpointerCommLock | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | May 09, 2012 | |
| CommitterBackported | Avoid xid error from age() function when run on Hot Standby | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | May 09, 2012 | |
| Committer | Add DROP INDEX CONCURRENTLY [IF EXISTS], uses ShareUpdateExclusiveLock | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Apr 06, 2012 | |
| CommitterBackported | Correct epoch of txid_current() when executed on a Hot Standby server. Initialise ckptXidEpoch from starting checkpoint and maintain the correct value as we roll forwards. This allows GetNextXidAndEpoch() to return the correct epoch when executed during recovery. Backpatch to 9.0 when the problem is first observable by a user. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Mar 29, 2012 | |
| Committer | Minor bug fix and cleanup from self-review of sync rep queues patch. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jan 30, 2012 | |
| Committer | Various minor comments changes from bgwriter to checkpointer. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jan 30, 2012 | |
| Committer | Allow pg_basebackup from standby node with safety checking. Base backup follows recommended procedure, plus goes to great lengths to ensure that partial page writes are avoided. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jan 25, 2012 | |
| Committer | Add new replication mode synchronous_commit = 'write'. Replication occurs only to memory on standby, not to disk, so provides additional performance if user wishes to reduce durability level slightly. Adds concept of multiple independent sync rep queues. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jan 24, 2012 | |
| CommitterBackported | Resolve timing issue with logging locks for Hot Standby. We log AccessExclusiveLocks for replay onto standby nodes, but because of timing issues on ProcArray it is possible to log a lock that is still held by a just committed transaction that is very soon to be removed. To avoid any timing issue we avoid applying locks made by transactions with InvalidXid. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Jan 23, 2012 | |
| Committer | ALTER <thing> [IF EXISTS] ... allows silent DDL if required, e.g. ALTER FOREIGN TABLE IF EXISTS foo RENAME TO bar | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jan 23, 2012 | |
| CommitterBackported | Correctly initialise shared recoveryLastRecPtr in recovery. Previously we used ReadRecPtr rather than EndRecPtr, which was not a serious error but caused pg_stat_replication to report incorrect replay_location until at least one WAL record is replayed. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Jan 13, 2012 | |
| Committer | Minor but necessary improvements to WAL keepalives | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Jan 13, 2012 |