Tom Lane wrote: > Without the flag, it's okay for cidr-to-inet to be a > binary-compatible (no function) conversion. However, inet-to-cidr > has to either zero out bits to the right of the netmask, or error out > if any are set. Joachim Wieland posted a patch that makes the > coercion function just silently zero out any such bits. That's OK > with me, but does anyone want to argue for an error?
Zero the bits if it's an explicit cast, raise an error if not. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings