Tobias Brox wrote:
Oh, the gid is not primary key. I guess I should also apologize for adding noise here :-)
Yes, it is a primary key, but I am the noise maker here ! ;-) ---------------------------(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