[jOOQ/jOOQ#12645] Parser should support PostgreSQL date part syntaxes with explicit type casts
This commit is contained in:
parent
ab03dda749
commit
b2465ca45b
@ -10106,6 +10106,11 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
else if (string)
|
||||
parse('\'');
|
||||
|
||||
// [#12645] In PostgreSQL, function based indexes tend to cast the
|
||||
// date part to a type explicitly
|
||||
if (parseIf("::"))
|
||||
parseDataType();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user