Re: [HACKERS] New IP address datatype

Поиск
Список
Период
Сортировка
От Mark Volpe
Тема Re: [HACKERS] New IP address datatype
Дата
Msg-id 3752D02C.7D0E2686@eos.ncsu.edu
обсуждение исходный текст
Ответы Re: [HACKERS] New IP address datatype  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Список pgsql-hackers
I've been looking at those discussions -- my idea is to simplify
the ip network types ( and operators ) a little:

Hosts are specified as '134.67.131.10' or '134.67.131.10/32' and
display 134.67.131.10.

Subnets are specified as '134.67.131.0/24', '134.67.131/24', or
just '134.67.131', but they would display '134.67.131.0/24'.

There would be no provision for storing a host/netmask in the
same structure; it seems confusing to me anyway since you could
put the netmask in a seperate column.


Thanks,
Mark

( Sorry, I meant to post to the list the first time )
Bruce Momjian wrote:
> 
> But they are the same, except for output, right?  We discussed the
> having a unified type, but could not figure out how to output things
> properly.  I recommend you see the huge discussion on the hackers list
> about these types in the October/November 1998 timeframe.
>


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Open 6.5 items
Следующее
От: Theo Kramer
Дата:
Сообщение: Re: [HACKERS] please?