- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit483bdb2
committed
Support [NO] INDENT option in XMLSERIALIZE().
This adds the ability to pretty-print XML documents ... according tolibxml's somewhat idiosyncratic notions of what's pretty, anyway.One notable divergence from a strict reading of the spec is thatlibxml is willing to collapse empty nodes "<node></node>" to just"<node/>", whereas SQL and the underlying XML spec say that thisoption should only result in whitespace tweaks. Nonetheless,it seems close enough to justify using the SQL-standard syntax.Jim Jones, reviewed by Peter Smith and myselfDiscussion:https://postgr.es/m/2f5df461-dad8-6d7d-4568-08e10608a69b@uni-muenster.de1 parent419a8dd commit483bdb2
File tree
15 files changed
+775
-22
lines changed- doc/src/sgml
- src
- backend
- catalog
- executor
- parser
- utils/adt
- include
- catalog
- nodes
- parser
- utils
- test/regress
- expected
- sql
15 files changed
+775
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4460 | 4460 | | |
4461 | 4461 | | |
4462 | 4462 | | |
4463 | | - | |
| 4463 | + | |
4464 | 4464 | | |
4465 | 4465 | | |
4466 | 4466 | | |
| |||
4470 | 4470 | | |
4471 | 4471 | | |
4472 | 4472 | | |
| 4473 | + | |
| 4474 | + | |
| 4475 | + | |
| 4476 | + | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
4473 | 4480 | | |
4474 | 4481 | | |
4475 | 4482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3837 | 3837 | | |
3838 | 3838 | | |
3839 | 3839 | | |
3840 | | - | |
3841 | | - | |
| 3840 | + | |
| 3841 | + | |
| 3842 | + | |
| 3843 | + | |
3842 | 3844 | | |
3843 | 3845 | | |
3844 | 3846 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
| 705 | + | |
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| |||
15532 | 15532 | | |
15533 | 15533 | | |
15534 | 15534 | | |
15535 | | - | |
| 15535 | + | |
15536 | 15536 | | |
15537 | 15537 | | |
15538 | 15538 | | |
15539 | 15539 | | |
15540 | 15540 | | |
15541 | 15541 | | |
| 15542 | + | |
15542 | 15543 | | |
15543 | 15544 | | |
15544 | 15545 | | |
| |||
15592 | 15593 | | |
15593 | 15594 | | |
15594 | 15595 | | |
| 15596 | + | |
| 15597 | + | |
| 15598 | + | |
| 15599 | + | |
| 15600 | + | |
15595 | 15601 | | |
15596 | 15602 | | |
15597 | 15603 | | |
| |||
16828 | 16834 | | |
16829 | 16835 | | |
16830 | 16836 | | |
| 16837 | + | |
16831 | 16838 | | |
16832 | 16839 | | |
16833 | 16840 | | |
| |||
17384 | 17391 | | |
17385 | 17392 | | |
17386 | 17393 | | |
| 17394 | + | |
17387 | 17395 | | |
17388 | 17396 | | |
17389 | 17397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2331 | 2331 | | |
2332 | 2332 | | |
2333 | 2333 | | |
| 2334 | + | |
2334 | 2335 | | |
2335 | 2336 | | |
2336 | 2337 | | |
| |||
0 commit comments
Comments
(0)