Filter:

Commits in June 2011

Commits20 commits of which 13 backported
0Author
20Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBackportedMove the PredicateLockRelation() call from nodeSeqscan.c to heapam.c. It's more consistent that way, since all the other PredicateLock* calls are made in various heapam.c and index AM functions. The call in nodeSeqscan.c was unnecessarily aggressive anyway, there's no need to try to lock the relation every time a tuple is fetched, it's enough to do it once.
cd70dd6b
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 29, 2011
CommitterBackportedGrab predicate locks on matching tuples in a lossy bitmap heap scan. Non-lossy case was already handled correctly.
d9fe63ac
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 29, 2011
CommitterBackportedRemove pointless const qualifiers from function arguments in the SSI code. As Tom Lane pointed out, "const Relation foo" doesn't guarantee that you can't modify the data the "foo" pointer points to. It just means that you can't change the pointer to point to something else within the function, which is not very useful.
5da417f7
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 22, 2011
CommitterBackportedAdjust the alternative expected output file for prepared_xacts test case, used when max_prepared_transactions=0, for the recent changes in the test case.
38c0e721
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 21, 2011
CommitterBackportedFix bug introduced by recent SSI patch to merge ROLLED_BACK and MARKED_FOR_DEATH flags into one. We still need the ROLLED_BACK flag to mark transactions that are in the process of being rolled back. To be precise, ROLLED_BACK now means that a transaction has already been discounted from the count of transactions with the oldest xmin, but not yet removed from the list of active transactions.
7cb2ff96
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 21, 2011
CommitterBackportedFix bug in PreCommit_CheckForSerializationFailure. A transaction that has already been marked as PREPARED cannot be killed. Kill the current transaction instead.
1eea8e8a
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 21, 2011
CommitterBackportedUpdate README-SSI. Add a section to describe the "dangerous structure" that SSI is based on, as well as the optimizations about relative commit times and read-only transactions. Plus a bunch of other misc fixes and improvements.
78475b0e
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 16, 2011
CommitterBackportedpgindent run of recent SSI changes. Also, remove an unnecessary #include.
cb94db91
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 16, 2011
CommitterBackportedThe rolled-back flag on serializable xacts was pointless and redundant with the marked-for-death flag. It was only set for a fleeting moment while a transaction was being cleaned up at rollback. All the places that checked for the rolled-back flag should also check the marked-for-death flag, as both flags mean that the transaction will roll back. I also renamed the marked-for-death into "doomed", which is a lot shorter name.
264a6b12
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 15, 2011
CommitterBackportedMake non-MVCC snapshots exempt from predicate locking. Scans with non-MVCC snapshots, like in REINDEX, are basically non-transactional operations. The DDL operation itself might participate in SSI, but there's separate functions for that.
0a0e2b52
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 15, 2011
CommitterBackportedOops, forgot to change the order of entries in 2PC callback arrays when I renumbered the resource managers. This should fix the buildfarm..
85ea9338
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 14, 2011
CommitterBackportedRenumber 2PC resource managers so that compared to 9.0, predicate lock rmgr is added to the end, and existing resource managers keep their old ids. We're not going to guarantee on-disk compatibility for 2PC state files over major releases, but it seems better to avoid changing the ids them anyway. It will help anyone who might want to write external tools to inspect the state files to work with files from different versions, if nothing else. Per complaint from Tom Lane.
b81831ac
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 14, 2011
CommitterBackportedRemove now-unnecessary casts.
13000b44
master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+9 more
No linked threadJun 12, 2011
CommitterFix locking while setting flags in MySerializableXact.
cb2d158c
master9.1beta3REL_19_STABLE9.1beta3REL_18_STABLE9.1beta3REL_17_STABLE9.1beta3REL_16_STABLE9.1beta3REL_15_STABLE9.1beta3REL_14_STABLE9.1beta3REL_13_STABLE9.1beta3+9 more
No linked threadJun 10, 2011
CommitterSmall comment fixes and enhancements.
c79c570b
master9.1beta3REL_19_STABLE9.1beta3REL_18_STABLE9.1beta3REL_17_STABLE9.1beta3REL_16_STABLE9.1beta3REL_15_STABLE9.1beta3REL_14_STABLE9.1beta3REL_13_STABLE9.1beta3+9 more
No linked threadJun 10, 2011
CommitterFix the truncation logic of the OldSerXid SLRU mechanism. We can't pass SimpleLruTruncate() a page number that's "in the future", because it will issue a warning and refuse to truncate anything. Instead, we leave behind the latest segment. If the slru is not needed before XID wrap-around, the segment will appear as new again, and not be cleaned up until it gets old enough again. That's a bit unpleasant, but better than not cleaning up anything.
e1c26ab8
master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more
No linked threadJun 09, 2011
CommitterMark the SLRU page as dirty when setting an entry in pg_serial. In the passing, fix an incorrect comment.
5234161a
master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more
No linked threadJun 09, 2011
CommitterMake DDL operations play nicely with Serializable Snapshot Isolation.
8f9622bb
master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more
No linked threadJun 08, 2011
CommitterMake ascii-art in comments pgindent-safe, and some other formatting changes.
a31ff707
master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more
No linked threadJun 07, 2011
CommitterSSI comment fixes and enhancements. Notably, document that the conflict-out flag actually means that the transaction has a conflict out to a transaction that committed before the flagged transaction.
c8630919
master9.1beta2REL_19_STABLE9.1beta2REL_18_STABLE9.1beta2REL_17_STABLE9.1beta2REL_16_STABLE9.1beta2REL_15_STABLE9.1beta2REL_14_STABLE9.1beta2REL_13_STABLE9.1beta2+9 more
No linked threadJun 03, 2011