- Notifications
You must be signed in to change notification settings - Fork5
Commitc114e16
committed
Define the right-hand input of AT TIME ZONE as a full a_expr instead of
c_expr. Perhaps the restriction was once needed to avoid bison errors,but it seems to work just fine now --- and even generates a slightlysmaller state machine. This change allows examples likeSELECT '13:45'::timetz AT TIME ZONE '-07:00'::interval;to work without parentheses around the right-hand input.1 parent0975b95 commitc114e16
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
6070 | 6070 |
| |
6071 | 6071 |
| |
6072 | 6072 |
| |
6073 |
| - | |
| 6073 | + | |
6074 | 6074 |
| |
6075 | 6075 |
| |
6076 | 6076 |
| |
|
0 commit comments
Comments
(0)