Repository navigation
feat(pg-performance): start read transactions in one round trip - #2146
Conversation
begin_read starts its transaction with BEGIN READ ONLY, so starting the transaction and making it read-only take one round trip.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Walkthrough
ChangesPostgreSQL Read-Only Transactions
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to
|
✅ PR Title Formatted CorrectlyThe title of this PR match the correct format. Thank you! |
Read transactions, such as those of paged listings, start with
BEGIN READ ONLY. This saves one database round trip each time a read transaction starts. They still refuse writes; a new test checks that.Summary by CodeRabbit