Re: Summary: what to do about INET/CIDR
От | Larry Rosenman |
---|---|
Тема | Re: Summary: what to do about INET/CIDR |
Дата | |
Msg-id | 20001027173732.A27362@lerami.lerctr.org обсуждение исходный текст |
Ответ на | Re: Summary: what to do about INET/CIDR (Alex Pilosov <alex@pilosoft.com>) |
Ответы |
Re: Summary: what to do about INET/CIDR
|
Список | pgsql-hackers |
* Tom Lane <tgl@sss.pgh.pa.us> [001027 17:29]: > Larry Rosenman <ler@lerctr.org> writes: > > I.E. for select network('207.158.72.0/24') > > I get > > 207.158.72.0 > > To my mind that should be done with host(), not network(). If you strip > the masklen information then what you have is no longer a network > specification, so expecting a function named network() to behave that > way strikes me as bizarre. Fine, but host() rejects CIDR types right now.... LER > > regards, tom lane -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
В списке pgsql-hackers по дате отправления: