Alex Pilosov <[EMAIL PROTECTED]> writes: > Indexpath generated for such an expression is this: > (a > network(b)) and (a <= set_masklen(broadcast(b, 32))) What happens to that set_masklen thing for IPv6? If the network.c code were exporting a function that made this value, I'd not worry; but I don't like wiring an IPv4 assumption into code far away in the planner. Can't we do better here? Perhaps move the generation of the indexscan bound values into a subroutine in network.c? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly