-
Notifications
You must be signed in to change notification settings - Fork 848
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
Fix wrong use of Const instead of Datum #6269
Conversation
@mkindahl, @antekresic: please review this pull request.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but one question.
Codecov Report
@@ Coverage Diff @@
## main #6269 +/- ##
==========================================
- Coverage 65.30% 65.27% -0.03%
==========================================
Files 247 247
Lines 57528 57482 -46
Branches 12784 12765 -19
==========================================
- Hits 37569 37524 -45
- Misses 18073 18084 +11
+ Partials 1886 1874 -12
... and 68 files with indirect coverage changes 📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
5bceeff
to
d0736c6
Compare
Oh, I just broke it today, thanks for the fix :) It's hard to add the test for this particular condition until we have vectorized scalar array operations. I'll add it at that time. |
d0736c6
to
09dd924
Compare
PG16 converted the *GetDatum() and DatumGet*() macros to inline functions. This enabled the compiler to catch a wrong use of Const instead of Datum. postgres/postgres@c8b2ef0
09dd924
to
a957fb8
Compare
Thank you for explaining @fabriziomello , I've updated the commit message |
Don't worry ... We're almost there for enabling PG16 on CI (we just merged some last failures today) |
PG16 converted the GetDatum() and DatumGet() macros to inline
functions. This enabled the compiler to catch a wrong use of Const
instead of Datum.
postgres/postgres@c8b2ef0
(regression introduced by #6203)