Joachim Wieland <[EMAIL PROTECTED]> writes: > FWIW, I append the patch I've done a few weeks ago. It adds an inettocidr > cast function.
I think we need to take two steps back and look at the larger picture: the INET/CIDR situation is conceptually a mess and it's going to take more than a localized change to clean it up. I have some ideas about this and will try to post a proposal on -hackers later today. regards, tom lane ---------------------------(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