forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc02e52d
committed
Don't let transform_null_equals=on affect CASE foo WHEN NULL ... constructs.
transform_null_equals is only supposed to affect "foo = NULL" expressionsgiven directly by the user, not the internal "foo = NULL" expressiongenerated from CASE-WHEN.This fixes bug #6242, reported by Sergey. Backpatch to all supportedbranches.1 parentb77b601 commitc02e52d
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
830 | 830 |
| |
831 | 831 |
| |
832 | 832 |
| |
833 |
| - | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
834 | 836 |
| |
835 | 837 |
| |
836 | 838 |
| |
837 | 839 |
| |
838 |
| - | |
| 840 | + | |
| 841 | + | |
839 | 842 |
| |
840 | 843 |
| |
841 | 844 |
| |
|
0 commit comments
Comments
(0)