Filter:

Commits in March 2011

Commits22 commits of which 3 backported
0Author
22Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterFix a tiny race condition in predicate locking. Need to hold the lock while examining the head of predicate locks list. Also, fix the comment of RemoveTargetIfNoLongerUsed, it was neglected when we changed the way update chains are handled.
60b142b9
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more
No linked threadMar 31, 2011
CommitterIncrease SHMEM_INDEX_SIZE from 32 to 64. We're currently at 40 entries in ShmemIndex, so 64 leaves some headroom.
c8ae318c
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more
No linked threadMar 31, 2011
CommitterDon't leak the temporary PLyProcedure struct we create for inline plpython blocks.
ec762650
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more
No linked threadMar 31, 2011
CommitterReword the phrase on zero replication_timeout in the docs.
647f8b3d
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more
No linked threadMar 31, 2011
CommitterImprove error message when WAL ends before reaching end of online backup.
1f0bab84
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more
No linked threadMar 31, 2011
CommitterBackportedCheck that we've reached end-of-backup also when we're not performing archive recovery.
acf47401
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+10 more
No linked threadMar 30, 2011
CommitterAutomatically terminate replication connections that are idle for more than replication_timeout (a new GUC) milliseconds. The TCP timeout is often too long, you want the master to notice a dead connection much sooner. People complained about that in 9.0 too, but with synchronous replication it's even more important to notice dead connections promptly.
754baa21
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more
No linked threadMar 30, 2011
CommitterAdjust error message, now that we expect other message types than connection close at this point. Fix PQsetnonblocking() comment.
bc03c593
master9.1beta1REL_19_STABLE9.1beta1REL_18_STABLE9.1beta1REL_17_STABLE9.1beta1REL_16_STABLE9.1beta1REL_15_STABLE9.1beta1REL_14_STABLE9.1beta1REL_13_STABLE9.1beta1+9 more
No linked threadMar 30, 2011
CommitterWhen two base backups are started at the same time with pg_basebackup, ensure that they use different checkpoints as the starting point. We use the checkpoint redo location as a unique identifier for the base backup in the end-of-backup record, and in the backup history file name.
6d8096e2
master9.1alpha5REL_19_STABLE9.1alpha5REL_18_STABLE9.1alpha5REL_17_STABLE9.1alpha5REL_16_STABLE9.1alpha5REL_15_STABLE9.1alpha5REL_14_STABLE9.1alpha5REL_13_STABLE9.1alpha5+9 more
No linked threadMar 21, 2011
CommitterBackportedIn ecpg preprocessor, don't try to look up constants in the test for variable hiding. A constant is not a variable. It worked in most cases by accident, because we add constants to the global list of variables (why?), but float constants like 1.23 were interpreted as struct field references, and not found.
30e8b3e5
master9.1alpha5REL_19_STABLE9.1alpha5REL_18_STABLE9.1alpha5REL_17_STABLE9.1alpha5REL_16_STABLE9.1alpha5REL_15_STABLE9.1alpha5REL_14_STABLE9.1alpha5REL_13_STABLE9.1alpha5+10 more
No linked threadMar 11, 2011
CommitterFix bugs in the isolation tester flex rules.
74a09d92
master9.1alpha5REL_19_STABLE9.1alpha5REL_18_STABLE9.1alpha5REL_17_STABLE9.1alpha5REL_16_STABLE9.1alpha5REL_15_STABLE9.1alpha5REL_14_STABLE9.1alpha5REL_13_STABLE9.1alpha5+9 more
No linked threadMar 10, 2011
CommitterFix overly strict assertion in SummarizeOldestCommittedSxact(). There's a race condition where SummarizeOldestCommittedSxact() is called even though another backend already cleared out all finished sxact entries. That's OK, RegisterSerializableTransactionInt() can just retry getting a news xact slot from the available-list when that happens.
46c333a9
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 08, 2011
CommitterBackportedDon't throw a warning if vacuum sees PD_ALL_VISIBLE flag set on a page that contains newly-inserted tuples that according to our OldestXmin are not yet visible to everyone. The value returned by GetOldestXmin() is conservative, and it can move backwards on repeated calls, so if we see that contradiction between the PD_ALL_VISIBLE flag and status of tuples on the page, we have to assume it's because an earlier vacuum calculated a higher OldestXmin value, and all the tuples really are visible to everyone.
93d88823
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+11 more
No linked threadMar 08, 2011
CommitterTruncate predicate lock manager's SLRU lazily at checkpoint. That's safer than doing it aggressively whenever the tail-XID pointer is advanced, because this way we don't need to do it while holding SerializableXactHashLock.
4cd3fb6e
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 08, 2011
CommitterIf recovery_target_timeline is set to 'latest' and standby mode is enabled, periodically rescan the archive for new timelines, while waiting for new WAL segments to arrive. This allows you to set up a standby server that follows the TLI change if another standby server is promoted to master. Before this, you had to restart the standby server to make it notice the new timeline.
1a4ab9ec
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 07, 2011
CommitterDocument the DEFERRABLE option in SET TRANSACTION command.
faba108f
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 07, 2011
CommitterBegin error message with lower-case letter.
97e3dacd
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 07, 2011
CommitterSilence compiler warning about undefined function when compiling without assertions.
baabf051
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 07, 2011
CommitterYou must hold a lock on the heap page when you call CheckForSerializableConflictOut(), because it can set hint bits.
ee3838b1
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 04, 2011
CommitterAdd tab-completion for table name after JOIN.
8e2d8b14
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 03, 2011
CommitterChange pg_last_xlog_receive_location() not to move backwards. That makes it a lot more useful for determining which standby is most up-to-date, for example. There was long discussions on whether overwriting existing existing WAL makes sense to begin with, and whether we should do some more extensive variable renaming, but this change nevertheless seems quite uncontroversial.
6eba5a7c
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 01, 2011
CommitterFix bugs in Serializable Snapshot Isolation.
47ad7912
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadMar 01, 2011