Re: [HACKERS] CIDR/INET improvements
| От | Joachim Wieland |
|---|---|
| Тема | Re: [HACKERS] CIDR/INET improvements |
| Дата | |
| Msg-id | 20060124092758.GA24797@mcknight.de обсуждение исходный текст |
| Ответ на | Re: [HACKERS] CIDR/INET improvements (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [HACKERS] CIDR/INET improvements
Re: [HACKERS] CIDR/INET improvements |
| Список | pgsql-patches |
On Mon, Jan 23, 2006 at 11:30:58PM -0500, Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > Patch for testing attached. > This is an utterly bad idea, because it not only doesn't address the > problem (ie, confusion about whether inet and cidr are distinct types > or not), but it masks mistakes in that realm by hiding data on output. > It'll be almost impossible to debug situations where x is different > from y but they display the same. FWIW, I append the patch I've done a few weeks ago. It adds an inettocidr cast function. I updated it to comply to Bruce's recent "ip_type" -> "ip_is_cidr" change. Joachim -- Joachim Wieland joe@mcknight.de C/ Usandizaga 12 1°B ICQ: 37225940 20002 Donostia / San Sebastian (Spain) GPG key available
Вложения
В списке pgsql-patches по дате отправления: