forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd4fd571
committed
Doc: clarify data type behavior of COALESCE and NULLIF.
After studying the code, NULLIF is a lot more subtle than you mighthave guessed.Discussion:https://postgr.es/m/160486028730.25500.15740897403028593550@wrigleys.postgresql.org1 parent3855e5b commitd4fd571
2 files changed
+33
-6
lines changedLines changed: 25 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13909 | 13909 |
| |
13910 | 13910 |
| |
13911 | 13911 |
| |
| 13912 | + | |
| 13913 | + | |
| 13914 | + | |
| 13915 | + | |
| 13916 | + | |
| 13917 | + | |
13912 | 13918 |
| |
13913 | 13919 |
| |
13914 | 13920 |
| |
| |||
13939 | 13945 |
| |
13940 | 13946 |
| |
13941 | 13947 |
| |
13942 |
| - | |
13943 |
| - | |
13944 | 13948 |
| |
13945 | 13949 |
| |
13946 | 13950 |
| |
13947 | 13951 |
| |
13948 | 13952 |
| |
| 13953 | + | |
| 13954 | + | |
| 13955 | + | |
| 13956 | + | |
| 13957 | + | |
| 13958 | + | |
| 13959 | + | |
| 13960 | + | |
| 13961 | + | |
| 13962 | + | |
| 13963 | + | |
| 13964 | + | |
| 13965 | + | |
| 13966 | + | |
| 13967 | + | |
| 13968 | + | |
| 13969 | + | |
| 13970 | + | |
| 13971 | + | |
13949 | 13972 |
| |
13950 | 13973 |
| |
13951 | 13974 |
| |
|
Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
131 |
| - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
132 | 134 |
| |
133 | 135 |
| |
134 | 136 |
| |
| |||
1041 | 1043 |
| |
1042 | 1044 |
| |
1043 | 1045 |
| |
1044 |
| - | |
| 1046 | + | |
| 1047 | + | |
1045 | 1048 |
| |
1046 |
| - | |
| 1049 | + | |
| 1050 | + | |
1047 | 1051 |
| |
1048 | 1052 |
| |
1049 | 1053 |
| |
|
0 commit comments
Comments
(0)