Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 17 Dec 2003 19:49:52 +0000 (19:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 17 Dec 2003 19:49:52 +0000 (19:49 +0000)
commit5129070dfde66d5d899920b4c75372af102ea449
tree20f36ae2542fcf9ca62d5f466a467315b549c777
parentea27e96dd004a21dbc1435949e5bb859b3724cd0
Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion
does not affect UNKNOWN-type literals or Params.  This fixes the recent
complaint about count('x') being broken, and improves consistency in
a few other respects too.
src/backend/parser/parse_coerce.c