Re: Remove HeapTuple and Buffer dependency for predicate locking functions
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Ashwin Agrawal <aagrawal@pivotal.io>
Cc: Andres Freund <andres@anarazel.de>, PostgreSQL mailing lists <pgsql-hackers@postgresql.org>,
Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Date: 2019-11-11T04:20:37Z
Lists: pgsql-hackers
Attachments
- v4-0001-Remove-dependency-on-HeapTuple-from-predicate-loc.patch (application/octet-stream) patch v4-0001
- v4-0002-fixup.patch (application/octet-stream) patch v4-0002
On Sat, Nov 9, 2019 at 8:41 AM Ashwin Agrawal <aagrawal@pivotal.io> wrote: > On Thu, Nov 7, 2019 at 8:44 PM Thomas Munro <thomas.munro@gmail.com> wrote: >> I'm planning to commit these three patches on Monday. I've attached >> versions with whitespace-only changes from pgindent, and commit >> messages lightly massaged and updated to point to this discussion and >> reviewers. > > Thanks a lot, sounds good. Hi Ashwin, I pushed the first two, but on another read-through of the main patch I didn't like the comments for CheckForSerializableConflictOut() or the fact that it checks SerializationNeededForRead() again, after I thought a bit about what the contract for this API is now. Here's a version with small fixup that I'd like to squash into the patch. Please let me know what you think, or if you see how to improve it further.
Commits
-
Remove dependency on HeapTuple from predicate locking functions.
- 6f38d4dac381 13.0 landed
-
Optimize PredicateLockTuple().
- db2687d1f378 13.0 landed
-
Optimize TransactionIdIsCurrentTransactionId().
- 695c5977c8bc 13.0 landed
-
Fix predicate-locking of HOT updated rows.
- 54c98fa71ac1 9.4.25 landed
- fd298cd6394b 9.5.20 landed
- 75774cc221e5 9.6.16 landed
- 65468cc705ea 10.11 landed
- c5b796125299 11.6 landed
- f8d30182b121 12.0 landed
- 1169fcf129f4 13.0 landed
-
Introduce logical decoding.
- b89e151054a0 9.4.0 cited
-
Fix bugs in SSI tuple locking.
- 81fbbfe3352d 9.4.0 cited
-
Implement genuine serializable isolation level.
- dafaa3efb75c 9.1.0 cited