Commit ef744eb
committed
SQL/JSON: Miscellaneous fixes and improvements
This addresses some post-commit review comments for commits 6185c97,
de36004, and 9425c596a0, with the following changes:
* Fix JSON_TABLE() syntax documentation to use the term
"path_expression" for JSON path expressions instead of
"json_path_specification" to be consistent with the other SQL/JSON
functions.
* Fix a typo in the example code in JSON_TABLE() documentation.
* Rewrite some newly added comments in jsonpath.h.
* In JsonPathQuery(), add missing cast to int before printing an enum
value.
Reported-by: Jian He <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxG_e0QLCgaELrr2ZNz7AxPeGCNKAORe3fHtFCQLsH4J4Q@mail.gmail.com1 parent c0fc075 commit ef744eb
File tree
3 files changed
+9
-10
lines changed- doc/src/sgml
- src
- backend/utils/adt
- include/utils
3 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18942 | 18942 | | |
18943 | 18943 | | |
18944 | 18944 | | |
18945 | | - | |
| 18945 | + | |
18946 | 18946 | | |
18947 | 18947 | | |
18948 | 18948 | | |
| |||
19083 | 19083 | | |
19084 | 19084 | | |
19085 | 19085 | | |
19086 | | - | |
| 19086 | + | |
19087 | 19087 | | |
19088 | 19088 | | |
19089 | 19089 | | |
| |||
19315 | 19315 | | |
19316 | 19316 | | |
19317 | 19317 | | |
19318 | | - | |
19319 | | - | |
| 19318 | + | |
| 19319 | + | |
| 19320 | + | |
19320 | 19321 | | |
19321 | 19322 | | |
19322 | 19323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3935 | 3935 | | |
3936 | 3936 | | |
3937 | 3937 | | |
3938 | | - | |
| 3938 | + | |
3939 | 3939 | | |
3940 | 3940 | | |
3941 | 3941 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | 284 | | |
286 | | - | |
| 285 | + | |
287 | 286 | | |
288 | | - | |
289 | | - | |
290 | 287 | | |
291 | 288 | | |
292 | 289 | | |
| |||
297 | 294 | | |
298 | 295 | | |
299 | 296 | | |
300 | | - | |
| 297 | + | |
301 | 298 | | |
302 | 299 | | |
303 | 300 | | |
| |||
306 | 303 | | |
307 | 304 | | |
308 | 305 | | |
| 306 | + | |
309 | 307 | | |
310 | 308 | | |
311 | 309 | | |
0 commit comments