]> granicus.if.org Git - postgresql/commit
Clean up grammar's handling of NULL in expressions: a_expr_or_null is
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Mar 2000 00:39:52 +0000 (00:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Mar 2000 00:39:52 +0000 (00:39 +0000)
commit117fa25ae1fccbb210cc92c86274307475798aea
treecf52552d34a0f42ca284c3615ecb7c2ef51376c1
parente8be8ffaf0d627a853814ec6105d9d719b500de9
Clean up grammar's handling of NULL in expressions: a_expr_or_null is
gone, replaced by plain a_expr.  The few places where we needed to
distinguish NULL from a_expr are now handled by tests inside the actions
rather than by separate productions.  This allows us to accept queries
like 'SELECT 1 + NULL' without requiring parentheses around the NULL.
src/backend/parser/gram.y