]> granicus.if.org Git - postgresql/commit
Allow a string argument to the EXTRACT() function.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 1 May 2001 01:36:10 +0000 (01:36 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 1 May 2001 01:36:10 +0000 (01:36 +0000)
commitd63571a7f4639155d2dd1ca703a9b720d6e48e16
tree0a584601d8e60cd75bc1f0ea633b06c77d53aeee
parent892d46e7d053df7e29468d9cd5077a05c0d74905
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.
src/backend/parser/gram.y