In article <alpine.SOC.1.00.0712212136330.20305@xxxxxxxxxxx>, Greg Smith <gsmith@xxxxxxxxxxxxx> wrote: >See if this helps you: >http://archives.postgresql.org/pgsql-general/2007-10/msg00969.php Yes! That's exactly what I needed. I new there had to be an easy way ;) ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match