]> granicus.if.org Git - postgresql/commit
Coercion sanity check in ri_HashCompareOp failed to allow for enums, as per
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 May 2008 04:14:24 +0000 (04:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 May 2008 04:14:24 +0000 (04:14 +0000)
commit63e98b55f04004423852fa1e1730761074c412db
treeda6543b147182237e6039c7ec8a35f5c2d2e96a4
parent2dad10f467165ad87dace65ae9aa1cf19fae0867
Coercion sanity check in ri_HashCompareOp failed to allow for enums, as per
example from Rod Taylor.  On reflection the correct test here is for any
polymorphic type, not specifically ANYARRAY as in the original coding.
src/backend/commands/tablecmds.c
src/backend/utils/adt/ri_triggers.c