RE: INET/CIDR types

From: "Larry Rosenman" <ler(at)lerctr(dot)org>
To: "Don Baccus" <dhogaza(at)pacifier(dot)com>, "Larry Rosenman" <ler(at)lerctr(dot)org>, <pgsql-hackers(at)hub(dot)org>, "Larry Rosenman" <ler(at)lerctr(dot)org>
Subject: RE: INET/CIDR types
Date: 2000-07-24 19:36:44
Message-ID: NCBBKBDOOHHEJCJHLLPACELCHIAA.ler@lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I was hoping to have some niceties out of the SQL retrieve to print directly
in PHP, and not have to massage it.

Why is there such animosity to printing out all 4 octets in some function
somewhere for a CIDR block?

Larry

-----Original Message-----
From: Don Baccus [mailto:dhogaza(at)pacifier(dot)com]
Sent: Monday, July 24, 2000 2:30 PM
To: Larry Rosenman; pgsql-hackers(at)hub(dot)org; Larry Rosenman
Subject: RE: [HACKERS] INET/CIDR types

At 02:26 PM 7/24/00 -0500, Larry Rosenman wrote:
>The problem is NON-TECHNICAL people will be getting the output,
>and they expect 4 octet output.
>
>I really think that we should have a way to coerce a CIDR to
>an INET, and then allow host().
>
>Remember that I am dealing with $10/hour clerks.
>
>I really don't get the hostility to changing the OUTPUT format...

Are these $10/hour clerks typing in SQL to psql? Strange ...

If not, formatting issues like this can easily be broken (or fixed,
according to your POV) by your application client.

- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 2000-07-24 20:17:36 Re: INET/CIDR types
Previous Message Don Baccus 2000-07-24 19:30:08 RE: INET/CIDR types