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

Thomas G. Lockhart
Allow a string argument to the EXTRACT() function.
This is an extension to the SQL9x standard, but is consistant with usage of the underlying date_part() function used to implement it. Example: EXTRACT('YEAR',...)No impact on regression tests.1 parent892d46e commitd63571a
1 file changed
+7
-2
lines changedLines changed: 7 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 |
| |
| |||
4986 | 4986 |
| |
4987 | 4987 |
| |
4988 | 4988 |
| |
| 4989 | + | |
| 4990 | + | |
| 4991 | + | |
| 4992 | + | |
4989 | 4993 |
| |
4990 |
| - | |
| 4994 | + | |
| 4995 | + | |
4991 | 4996 |
| |
4992 | 4997 |
| |
4993 | 4998 |
| |
|
0 commit comments
Comments
(0)