Re: Cleaning up the INET/CIDR mess
От
Peter Eisentraut
Тема
Re: Cleaning up the INET/CIDR mess
Дата
Msg-id
200601262212.02679.peter_e@gmx.net
Ответ на
Cleaning up the INET/CIDR mess (Tom Lane)
Список
Дерево обсуждения
Re: Cleaning up the INET/CIDR mess Andrew - Supernews <andrew+nonews@supernews.com>
Re: Cleaning up the INET/CIDR mess Greg Stark <gsstark@mit.edu>
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/
В списке pgsql-hackers по дате отправления