| От | darcy@druid.net (D'Arcy J.M. Cain) |
|---|---|
| Тема | A small problem with the new inet and cidr types |
| Дата | |
| Msg-id | m0za25n-0000eRC@druid.net обсуждение исходный текст |
| Ответы |
Re: [HACKERS] A small problem with the new inet and cidr types
|
| Список | pgsql-hackers |
It seems that we have a small problem with the operators and functions
in the inet and cidr types. If the value in a field is null then the
backend crashes when you try to apply one of the operators or functions
on it. I have a small patch ready to fix the functions but I'm not
sure what the behaviour should be for the operators. For the functions
I return an empty string if the argument is null except for masklen()
which returns 0. Should masklen return 32?
At Marc's request I am holding my patch until 6.4 is frozen.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера