Re: CIDR output format

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CIDR output format
Date: 2000-12-21 17:10:58
Message-ID: Pine.BSO.4.10.10012211210310.17246-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 21 Dec 2000, Tom Lane wrote:

> Value Default output text() abbrev()
>
> '127.0.0.1/32'::inet 127.0.0.1 127.0.0.1/32 127.0.0.1
> '127.0.0.1/32'::cidr 127.0.0.1/32 127.0.0.1/32 127.0.0.1/32
> '127/8'::cidr 127.0.0.0/8 127.0.0.0/8 127/8
>
> This would be a little bit inconsistent, because the default output
> format would match text() for CIDR values but abbrev() for INET values.
> But that seems like the most useful behavior to me. Possibly others
> will disagree ;-)
I think it makes sense.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-12-21 17:29:20 Re: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...
Previous Message Oliver Elphick 2000-12-21 16:49:29 Re: SSL Connections