forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9310075

Thomas G. Lockhart
Accept an INTERVAL argument for SET TIME ZONE per SQL99.
Modified the parser and the SET handlers to use full Node structures rather than simply a character string argument.Implement INTERVAL() YEAR TO MONTH (etc) syntax per SQL99. Does not yet accept the goofy string format that goes along with, but this should be fairly straight forward to fix now as a bug or later as a feature.Implement precision for the INTERVAL() type. Use the typmod mechanism for both of INTERVAL features.Fix the INTERVAL syntax in the parser: opt_interval was in the wrong place.INTERVAL is now a reserved word, otherwise we get reduce/reduce errors.Implement an explicit date_part() function for TIMETZ. Should fix coersion problem with INTERVAL reported by Peter E.Fix up some error messages for date/time types. Use all caps for type names within message.Fix recently introduced side-effect bug disabling 'epoch' as a recognized field for date_part() etc. Reported by Peter E. (??)Bump catalog version number.Rename "microseconds" current transaction time field from ...Msec to ...Usec. Duh!date/time regression tests updated for reference platform, but a few changes will be necessary for others.1 parent6254465 commit9310075
File tree
23 files changed
+942
-370
lines changed- src
- backend
- access/transam
- commands
- nodes
- parser
- tcop
- utils/adt
- include
- access
- catalog
- commands
- nodes
- utils
- interfaces/odbc
- test/regress
- expected
- sql
23 files changed
+942
-370
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
378 | 378 |
| |
379 | 379 |
| |
380 | 380 |
| |
381 |
| - | |
| 381 | + | |
382 | 382 |
| |
383 | 383 |
| |
384 | 384 |
| |
| |||
877 | 877 |
| |
878 | 878 |
| |
879 | 879 |
| |
880 |
| - | |
| 880 | + | |
881 | 881 |
| |
882 | 882 |
| |
883 | 883 |
| |
|
0 commit comments
Comments
(0)