Re: BUG #17550: inet type doesn't accept alternate notations of ipv4 addresses
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #17550: inet type doesn't accept alternate notations of ipv4 addresses |
| Дата | |
| Msg-id | 2996117.1657823049@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #17550: inet type doesn't accept alternate notations of ipv4 addresses ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Список | pgsql-bugs |
"David G. Johnston" <david.g.johnston@gmail.com> writes: > I don't see it as unreasonable to claim the lack of documentation regarding > known alternative representations that could be accepted as input is a > bug. The actual report isn't even asking for us to implement acceptance of > those formats, just make it clear when someone gets that error and checks > the docs that the error is valid. Yeah. I'm disinclined to loosen the input syntax rules, but the docs could stand improvement I think. Particularly since there are no concrete examples in https://www.postgresql.org/docs/current/datatype-net-types.html#DATATYPE-INET but there are in the following section about CIDR --- and that type *does* allow some forms of abbreviation. It would not be unreasonable to assume that INET does too. regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера