forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6ad2532
committed
Fix bogus return macros in range_overright_internal().
PG_RETURN_BOOL() should only be used in functions following the V1 SQLfunction API. This coding accidentally fails to fail since letting thecompiler coerce the Datum representation of bool back to plain booldoes give the right answer; but that doesn't make it a good idea.Back-patch to older branches just to avoid unnecessary code divergence.1 parentc5e2333 commit6ad2532
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
912 | 912 |
| |
913 | 913 |
| |
914 | 914 |
| |
915 |
| - | |
| 915 | + | |
916 | 916 |
| |
917 | 917 |
| |
918 |
| - | |
| 918 | + | |
919 | 919 |
| |
920 |
| - | |
| 920 | + | |
921 | 921 |
| |
922 | 922 |
| |
923 | 923 |
| |
|
0 commit comments
Comments
(0)