]> granicus.if.org Git - postgresql/commit
Fix problems with CURRENT_DATE and related functions being used in
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 1999 21:39:36 +0000 (21:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 1999 21:39:36 +0000 (21:39 +0000)
commitea4ae108493a6e2e4f975248907686277e68e9d9
tree6169a02669160b0c10b98addad00b8bc5598d85b
parent3267e2978ffcb97a662aa1aafe6f257517967f13
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.
src/backend/parser/gram.y