-
Notifications
You must be signed in to change notification settings - Fork 901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow EXPLAIN in read-only mode #7637
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkindahl
force-pushed
the
fix-readonly-for-explain
branch
3 times, most recently
from
January 30, 2025 16:02
99f233a
to
226a8d3
Compare
@gayyappan, @antekresic: please review this pull request.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7637 +/- ##
==========================================
+ Coverage 80.06% 81.29% +1.23%
==========================================
Files 190 241 +51
Lines 37181 44724 +7543
Branches 9450 11164 +1714
==========================================
+ Hits 29770 36360 +6590
- Misses 2997 3973 +976
+ Partials 4414 4391 -23 ☔ View full report in Codecov by Sentry. |
fabriziomello
approved these changes
Jan 30, 2025
mkindahl
force-pushed
the
fix-readonly-for-explain
branch
from
January 31, 2025 06:56
226a8d3
to
09d28dc
Compare
erimatnor
reviewed
Jan 31, 2025
mkindahl
force-pushed
the
fix-readonly-for-explain
branch
from
January 31, 2025 11:31
09d28dc
to
81199a2
Compare
erimatnor
approved these changes
Jan 31, 2025
Using `EXPLAIN` when `transaction_read_only` is set to `on` fails with an error. This is fixed by explicitly setting the `check_read_only` flag.
mkindahl
force-pushed
the
fix-readonly-for-explain
branch
from
January 31, 2025 12:44
81199a2
to
87947d8
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Using
EXPLAIN
whentransaction_read_only
is set toon
fails with an error. This is fixed by explicitly setting thecheck_read_only
flag.Fixes #7635