Thread: pgsql: Fix scalararraysel() to cope with binary-compatible cases, such

pgsql: Fix scalararraysel() to cope with binary-compatible cases, such

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix scalararraysel() to cope with binary-compatible cases, such as text[]
versus varchar[].  This oversight probably explains Ryan Holmes' recent
complaint --- he was getting a generic selectivity estimate instead of
anything intelligent.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        selfuncs.c (r1.221 -> r1.222)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c.diff?r1=1.221&r2=1.222)