From: | James Hughes <jamesh(at)interpath(dot)com> |
---|---|
To: | Peter T Mount <psqlhack(at)maidast(dot)demon(dot)co(dot)uk> |
Cc: | The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] A small type extension example for the contrib directory (fwd) |
Date: | 1998-01-25 17:11:18 |
Message-ID: | Pine.LNX.3.93.980125120928.7367B-100000@xport.bluewall.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, 25 Jan 1998, Peter T Mount wrote:
> On Sun, 25 Jan 1998, The Hermit Hacker wrote:
>
> > I added this to the contrib directory for the server, but am
> > wondering if anyone feels that this just might be useful as a "normal"
> > datatype, instead of just in the contrib directory...
>
> Personally, I would, as at work, I have a database that contains all of
> our machines on the network. It's a real pain handling IP & MAC addresses
> as strings.
>
> The IP type would be more useful, as I'd thought that people would use it
> in things like web useage logs, etc.
>
> > | PostgreSQL type extensions for IP and MAC addresses.
> > |
> > | I needed to record IP and MAC level ethernet addresses in a data
> > | base, and I really didn't want to store them as plain strings, with
> > | no enforced error checking, so I put together the accompanying code
> > | as my first experiment with adding a data type to PostgreSQL. I
> > | then thought that this might be useful to others, both directly and
> > | as a very simple example of how to do this sort of thing, so here
> > | it is, in the hope that it will be useful.
>
Hmm...
It would be nice to see PgSQL integrated into Scotty/Tkined :)
-James
From | Date | Subject | |
---|---|---|---|
Next Message | D'Arcy J.M. Cain | 1998-01-25 18:53:00 | Re: [HACKERS] A small type extension example for the contrib directory (fwd) |
Previous Message | Brett McCormick | 1998-01-25 16:57:56 | ignore array query |