forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commited055d2
committed
Improve documentation and testing of jsonpath string() for datetimes.
Point out that the output format depends on DateStyle, and test that,along with testing some cases previously not covered.In passing, adjust the horology test to verify that the prevailingDateStyle is 'Postgres, MDY', much as it has long verified theprevailing TimeZone. We expect pg_regress to have set these up,and there are multiple regression tests relying on these settings.Also make the formatting of entries in table 9.50 more consistent.David Wheeler (marginal additional hacking by me); review by jian heDiscussion:https://postgr.es/m/56955B33-6959-4FDA-A459-F00363ECDFEE@justatheory.com1 parent8610864 commited055d2
File tree
5 files changed
+135
-19
lines changed- doc/src/sgml
- src/test/regress
- expected
- sql
5 files changed
+135
-19
lines changedLines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18016 | 18016 |
| |
18017 | 18017 |
| |
18018 | 18018 |
| |
18019 |
| - | |
| 18019 | + | |
| 18020 | + | |
| 18021 | + | |
18020 | 18022 |
| |
18021 | 18023 |
| |
18022 | 18024 |
| |
| |||
18105 | 18107 |
| |
18106 | 18108 |
| |
18107 | 18109 |
| |
18108 |
| - | |
| 18110 | + | |
| 18111 | + | |
| 18112 | + | |
18109 | 18113 |
| |
18110 | 18114 |
| |
18111 | 18115 |
| |
| |||
18207 | 18211 |
| |
18208 | 18212 |
| |
18209 | 18213 |
| |
18210 |
| - | |
| 18214 | + | |
18211 | 18215 |
| |
18212 | 18216 |
| |
18213 | 18217 |
| |
| |||
18236 | 18240 |
| |
18237 | 18241 |
| |
18238 | 18242 |
| |
18239 |
| - | |
| 18243 | + | |
18240 | 18244 |
| |
18241 | 18245 |
| |
18242 | 18246 |
| |
| |||
18265 | 18269 |
| |
18266 | 18270 |
| |
18267 | 18271 |
| |
18268 |
| - | |
| 18272 | + | |
18269 | 18273 |
| |
18270 | 18274 |
| |
18271 | 18275 |
| |
| |||
18294 | 18298 |
| |
18295 | 18299 |
| |
18296 | 18300 |
| |
18297 |
| - | |
| 18301 | + | |
18298 | 18302 |
| |
18299 | 18303 |
| |
18300 | 18304 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
| 4 | + | |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 |
| |
12 | 17 |
| |
13 | 18 |
| |
|
Lines changed: 96 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2636 | 2636 |
| |
2637 | 2637 |
| |
2638 | 2638 |
| |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
2639 | 2651 |
| |
2640 | 2652 |
| |
2641 | 2653 |
| |
| |||
2645 | 2657 |
| |
2646 | 2658 |
| |
2647 | 2659 |
| |
2648 |
| - | |
2649 |
| - | |
2650 |
| - | |
2651 |
| - | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
2652 | 2667 |
| |
2653 | 2668 |
| |
2654 |
| - | |
2655 |
| - | |
| 2669 | + | |
| 2670 | + | |
2656 | 2671 |
| |
2657 |
| - | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
| 2704 | + | |
| 2705 | + | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
| 2709 | + | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
| 2720 | + | |
| 2721 | + | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
2658 | 2746 |
| |
2659 | 2747 |
| |
| 2748 | + | |
2660 | 2749 |
| |
2661 | 2750 |
| |
2662 | 2751 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 | 4 |
| |
6 |
| - | |
| 5 | + | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
|
Lines changed: 20 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
598 | 598 |
| |
599 | 599 |
| |
600 | 600 |
| |
601 |
| - | |
602 |
| - | |
603 | 601 |
| |
604 | 602 |
| |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
605 | 623 |
| |
606 | 624 |
| |
607 | 625 |
| |
|
0 commit comments
Comments
(0)