aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/giststrat.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-01-23 22:39:08 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-01-23 22:39:08 +0000
commitf69ff0c4bd6e31a527e8e8e4415313e31e3994d4 (patch)
tree4fbf64a4f02d071d502ded8166b958720a8cff7d /src/backend/access/gist/giststrat.c
parentedfca4b98b44f336ca88b2adf4dfbe6b59d7b146 (diff)
downloadpostgresql-f69ff0c4bd6e31a527e8e8e4415313e31e3994d4.tar.gz
postgresql-f69ff0c4bd6e31a527e8e8e4415313e31e3994d4.zip
Give 'a_expr ::= a_expr Op' production a slightly lower precedence than
Op, so that the sequence 'a_expr Op Op a_expr' will be parsed as a_expr Op (Op a_expr) not (a_expr Op) Op a_expr as formerly. In other words, prefer treating user-defined operators as prefix operators to treating them as postfix operators, when there is an ambiguity. Also clean up a couple of other infelicities in production priority assignment --- for example, BETWEEN wasn't being given the intended priority, but that of AND.
Diffstat (limited to 'src/backend/access/gist/giststrat.c')
0 files changed, 0 insertions, 0 deletions