- Notifications
You must be signed in to change notification settings - Fork5
Commit737cdc2
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 parenta068b5b commit737cdc2
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
917 | 917 |
| |
918 | 918 |
| |
919 | 919 |
| |
920 |
| - | |
| 920 | + | |
921 | 921 |
| |
922 | 922 |
| |
923 |
| - | |
| 923 | + | |
924 | 924 |
| |
925 |
| - | |
| 925 | + | |
926 | 926 |
| |
927 | 927 |
| |
928 | 928 |
| |
|
0 commit comments
Comments
(0)