Re: PATCH: Disallow a netmask of zero unless the IP is also all zeroes

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: PATCH: Disallow a netmask of zero unless the IP is also all zeroes
Дата
Msg-id CAKAnmmJLKuThQ-1mvF1Dd8HhE46xgm2uPNC3Nbm9C7gW+GOZUA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PATCH: Disallow a netmask of zero unless the IP is also all zeroes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Feb 11, 2025 at 3:25 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
More generally, should we reject if the netmask causes *any* nonzero
IP bits to be ignored?  Our CIDR type already imposes that rule:

Yeah, I like that idea a lot. That's a great DETAIL message.

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

В списке pgsql-hackers по дате отправления: