aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-07-16 22:29:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-07-16 22:29:42 +0000
commitf9e2c7fae85c05c14d515fe06440b88f0054e837 (patch)
tree5fbc0c9ac9037e21a79ccbc0d9228cadba4721c8 /src/backend/parser/parse_expr.c
parentbc9236bc014aea08e06d52516e47abed6fdcaa53 (diff)
downloadpostgresql-f9e2c7fae85c05c14d515fe06440b88f0054e837.tar.gz
postgresql-f9e2c7fae85c05c14d515fe06440b88f0054e837.zip
Allow bare column names to be subscripted as arrays. This
creates a reduce/reduce conflict, which I resolved by changing the 'AexprConst -> Typename Sconst' rule to 'AexprConst -> SimpleTypename Sconst'. In other words, a subscripted type declaration can't be used in that syntax any longer. This seems a small price to pay for not having to qualify subscripted columns anymore. Other cleanups: rename res_target_list to update_target_list, and remove productions for variants that are not legal in an UPDATE target list; rename res_target_list2 to plain target_list; delete position_expr in favor of using b_expr in that production; merge opt_indirection into attr nonterminal, since there are no places where an unsubscripted attr is wanted; fix typos in Param support; change case_arg so that an arbitrary a_expr is allowed, not only a column name.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions