- Notifications
You must be signed in to change notification settings - Fork5
Commit54c8e82
committed
In my mind there were two categories of open issues
a) ones that are 100% backward (such as the comment about outputting this format)and b) ones that aren't (such as deprecating the current postgresql shorthand of '1Y1M'::interval = 1 year 1 minute in favor of the ISO-8601 'P1Y1M'::interval = 1 year 1 month.Attached is a patch that addressed all the discussed issues thatdid not break backward compatability, including the ability tooutput ISO-8601 compliant intervals by setting datestyle toiso8601basic.Interval values can now be written as ISO 8601 time intervals, usingthe "Format with time-unit designators". This format always starts withthe character 'P', followed by a string of values followedby single character time-unit designators. A 'T' separates the date andtime parts of the interval.Ron Mayer1 parent7be614a commit54c8e82
File tree
7 files changed
+578
-7
lines changed- doc/src/sgml
- src
- backend
- commands
- utils/adt
- include
- interfaces/ecpg/pgtypeslib
7 files changed
+578
-7
lines changedLines changed: 62 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
1785 | 1785 |
| |
1786 | 1786 |
| |
1787 | 1787 |
| |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
1788 | 1839 |
| |
1789 | 1840 |
| |
1790 | 1841 |
| |
| |||
1941 | 1992 |
| |
1942 | 1993 |
| |
1943 | 1994 |
| |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
1944 | 2000 |
| |
1945 | 2001 |
| |
1946 | 2002 |
| |
| |||
1997 | 2053 |
| |
1998 | 2054 |
| |
1999 | 2055 |
| |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
2000 | 2061 |
| |
2001 | 2062 |
| |
2002 | 2063 |
| |
|
Lines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 |
| - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
86 | 91 |
| |
87 | 92 |
| |
88 | 93 |
| |
| |||
198 | 203 |
| |
199 | 204 |
| |
200 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
201 | 209 |
| |
202 | 210 |
| |
203 | 211 |
| |
|
0 commit comments
Comments
(0)