Restore enforce_generic_type_consistency's pre-8.3 behavior of allowing an
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Dec 2008 19:46:02 +0000 (19:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Dec 2008 19:46:02 +0000 (19:46 +0000)
commit4d2fa58aeab8866f983bbf5bee92df6656213029
treeb6930ba7f056006d7d25f7a4200eab4a685942eb
parent8d1d6019d4d85c51a4c414bb95a71f8897956218
Restore enforce_generic_type_consistency's pre-8.3 behavior of allowing an
actual argument type of ANYARRAY to match an argument declared ANYARRAY,
so long as ANYELEMENT etc aren't used.  I had overlooked the fact that this
is a possible case while fixing bug #3852; but it is possible because
pg_statistic contains columns declared ANYARRAY.  Per gripe from Corey Horton.
src/backend/parser/parse_coerce.c
src/test/regress/expected/polymorphism.out
src/test/regress/sql/polymorphism.sql