forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit22bd156
committed
Various fixes in the logic of XML functions:
- Add new SQL command SET XML OPTION (also available via regular GUC) to control the DOCUMENT vs. CONTENT option in implicit parsing and serialization operations.- Subtle corrections in the handling of the standalone property in xmlroot().- Allow xmlroot() to work on content fragments.- Subtle corrections in the handling of the version property in xmlconcat().- Code refactoring for producing XML declarations.1 parent9597446 commit22bd156
File tree
13 files changed
+329
-121
lines changed- doc/src/sgml
- src
- backend
- executor
- parser
- utils
- adt
- misc
- include/utils
- test/regress
- expected
- sql
13 files changed
+329
-121
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
3558 | 3558 | | |
3559 | 3559 | | |
3560 | 3560 | | |
| 3561 | + | |
| 3562 | + | |
| 3563 | + | |
| 3564 | + | |
| 3565 | + | |
| 3566 | + | |
| 3567 | + | |
| 3568 | + | |
| 3569 | + | |
| 3570 | + | |
| 3571 | + | |
| 3572 | + | |
| 3573 | + | |
| 3574 | + | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
| 3591 | + | |
| 3592 | + | |
3561 | 3593 | | |
3562 | 3594 | | |
3563 | 3595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
3474 | 3474 | | |
3475 | 3475 | | |
3476 | 3476 | | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
3477 | 3495 | | |
3478 | 3496 | | |
3479 | 3497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
2797 | 2797 | | |
2798 | 2798 | | |
2799 | 2799 | | |
2800 | | - | |
2801 | | - | |
2802 | | - | |
2803 | | - | |
| 2800 | + | |
2804 | 2801 | | |
2805 | 2802 | | |
2806 | 2803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
439 | 440 | | |
440 | 441 | | |
441 | 442 | | |
442 | | - | |
| 443 | + | |
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
| |||
1112 | 1113 | | |
1113 | 1114 | | |
1114 | 1115 | | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1115 | 1123 | | |
1116 | 1124 | | |
1117 | 1125 | | |
| |||
7938 | 7946 | | |
7939 | 7947 | | |
7940 | 7948 | | |
7941 | | - | |
| 7949 | + | |
7942 | 7950 | | |
7943 | | - | |
| 7951 | + | |
7944 | 7952 | | |
7945 | | - | |
7946 | | - | |
7947 | | - | |
7948 | | - | |
7949 | | - | |
| 7953 | + | |
7950 | 7954 | | |
7951 | | - | |
7952 | | - | |
7953 | | - | |
7954 | | - | |
7955 | | - | |
| 7955 | + | |
7956 | 7956 | | |
7957 | 7957 | | |
7958 | 7958 | | |
| |||
8864 | 8864 | | |
8865 | 8865 | | |
8866 | 8866 | | |
| 8867 | + | |
8867 | 8868 | | |
8868 | 8869 | | |
8869 | 8870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1481 | 1481 | | |
1482 | 1482 | | |
1483 | 1483 | | |
1484 | | - | |
| 1484 | + | |
| 1485 | + | |
1485 | 1486 | | |
1486 | 1487 | | |
1487 | 1488 | | |
| |||
0 commit comments
Comments
(0)