Skip to content
Snippets Groups Projects
Commit ea4ae108 authored by Tom Lane's avatar Tom Lane
Browse files

Fix problems with CURRENT_DATE and related functions being used in

table defaults or rules: translate them to a function call so that
parse_coerce doesn't reduce them to a date or time constant immediately.
Also, eliminate a lot of redundancy in the expression grammar by
defining a new nonterminal com_expr, which contains all the productions
that can be shared by a_expr and b_expr.
parent 3267e297
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment