Commit 7c7412c
committed
Code review for commit b6e1157
b6e1157 made some changes to enforce that
JsonValueExpr.formatted_expr is always set and is the expression that
gives a JsonValueExpr its runtime value, but that's not really
apparent from the comments about and the code manipulating
formatted_expr. This commit fixes that.
Per suggestion from Álvaro Herrera.
Discussion: https://postgr.es/m/20230718155313.3wqg6encgt32adqb%40alvherre.pgsql1 parent 97ff8dd commit 7c7412c
File tree
6 files changed
+24
-20
lines changed- src
- backend
- nodes
- parser
- include/nodes
6 files changed
+24
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
851 | | - | |
| 851 | + | |
| 852 | + | |
852 | 853 | | |
853 | 854 | | |
854 | 855 | | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
| 856 | + | |
| 857 | + | |
861 | 858 | | |
862 | 859 | | |
863 | 860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
| 228 | + | |
231 | 229 | | |
232 | 230 | | |
233 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16362 | 16362 | | |
16363 | 16363 | | |
16364 | 16364 | | |
16365 | | - | |
| 16365 | + | |
| 16366 | + | |
| 16367 | + | |
16366 | 16368 | | |
16367 | 16369 | | |
16368 | 16370 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3205 | 3205 | | |
3206 | 3206 | | |
3207 | 3207 | | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
3208 | 3212 | | |
3209 | 3213 | | |
3210 | 3214 | | |
| |||
3304 | 3308 | | |
3305 | 3309 | | |
3306 | 3310 | | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
3307 | 3315 | | |
3308 | 3316 | | |
3309 | 3317 | | |
| |||
3631 | 3639 | | |
3632 | 3640 | | |
3633 | 3641 | | |
3634 | | - | |
3635 | | - | |
3636 | 3642 | | |
3637 | 3643 | | |
3638 | 3644 | | |
3639 | 3645 | | |
3640 | | - | |
| 3646 | + | |
| 3647 | + | |
3641 | 3648 | | |
3642 | 3649 | | |
3643 | 3650 | | |
| |||
3906 | 3913 | | |
3907 | 3914 | | |
3908 | 3915 | | |
3909 | | - | |
3910 | | - | |
3911 | | - | |
| 3916 | + | |
3912 | 3917 | | |
3913 | 3918 | | |
3914 | 3919 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1596 | 1596 | | |
1597 | 1597 | | |
1598 | 1598 | | |
1599 | | - | |
1600 | | - | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
1601 | 1602 | | |
1602 | 1603 | | |
1603 | 1604 | | |
| |||
0 commit comments