- Notifications
You must be signed in to change notification settings - Fork5
Commita15699b
committed
Update ANSI INTERVAL section:
< * Add support for ANSI time INTERVAL syntax, INTERVAL '1 2:03:04' DAY TO SECOND< * Add support for ANSI date INTERVAL syntax, INTERVAL '20-6' YEAR TO MONTH< * Process mixed ANSI/PG INTERVAL syntax, and round value to requested precision<< Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS INTERVAL< MONTH), and this should return '12 months'<< * Interpret INTERVAL '1:30' MINUTE TO SECOND as '1 minute 30 seconds'> * Add ANSI INTERVAL handling> o Add support for day-time syntax, INTERVAL '1 2:03:04'> DAY TO SECOND> o Add support for year-month syntax, INTERVAL '50-6' YEAR TO MONTH> o Process mixed ANSI/PG syntax, and round value to requested> precision or generate an error> o Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS> INTERVAL MONTH), and this should return '12 months'> o Interpret INTERVAL '1:30' MINUTE TO SECOND as '1 minute 30 seconds'> o Support precision, CREATE TABLE foo (a INTERVAL MONTH(3))1 parent87ba04e commita15699b
1 file changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
| |||
0 commit comments
Comments
(0)