Repository navigation
Conversation
reshke
force-pushed
the
fix-compiler-warnings-planner-state
branch
from
November 23, 2026 20:35
120a6eb to
dca7bb4
Compare
reshke
enabled auto-merge (squash)
November 23, 2026 21:37
Alena0704
approved these changes
Nov 25, 2026
Alena0704
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. Optional cleanup: sorted_path and partial_target_exprs are assigned but never used. Both predate this PR and could be removed in a separate cleanup commit. This is not a blocker for the current PR.
reshke
force-pushed
the
fix-compiler-warnings-planner-state
branch
from
November 25, 2026 20:05
dca7bb4 to
4a39bf6
Compare
Contributor
Author
Yes, makes sence |
Cache the optimization-time setting for compiler diagnostics and preserve rule actions when a set-returning function buffers its result.
Reproducer: select insert_tt2('foollog','barlog') limit 1;
tuhaihe
force-pushed
the
fix-compiler-warnings-planner-state
branch
from
November 26, 2026 02:01
4a39bf6 to
3a8df33
Compare
This file contains hidden or 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
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.
GCC reported functions.c:1306:33: variable 'completed' might be clobbered by longjmp (-Wclobbered). The strict build also flagged planner timing state as potentially uninitialized. Initialize the per-call state and keep the planner configuration stable across the hook and fallback paths; remove redundant header declarations.
Fixes #ISSUE_Number
What does this PR do?
Type of Change
Breaking Changes
Test Plan
make installcheckmake -C src/test installcheck-cbdb-parallelImpact
Performance:
User-facing changes:
Dependencies:
Checklist
Additional Context
CI Skip Instructions