Please post EXPLAIN ANALYZE output for the two queries.

As I wrote in my first post, I pasted this together with the two queries at pastebin.com:
  http://pastebin.com/m3c0d1896

---------------------------(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

Reply via email to