Fix crash when nested sub-functions access NEW after DECLARE uses NEW#1202
Fix crash when nested sub-functions access NEW after DECLARE uses NEW#1202gaoxueyu merged 2 commits intoIvorySQL:masterfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds RECFIELD datum skipping to two compilation-time routines in PL/pgSQL subprocedure handling and introduces new trigger tests exercising nested subprocedure/recfield behavior; ensures RECFIELD datums are not treated as independent globals or OUT assignments. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
could we add some regression test case for this change? |
…CLARE uses NEW.id.
Sure, I've added regression tests for this change. |
c2main
left a comment
There was a problem hiding this comment.
I confirm it fixed bug on our testing and the added regression tests correctly ensure the case is correctly managed.
Summary by CodeRabbit
Bug Fixes
Tests