Re: [HACKERS] A small type extension example for the contrib directory (fwd)
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: scrappy@hub.org (The Hermit Hacker)
Cc: pgsql-hackers@postgreSQL.org
Date: 1998-01-25T15:40:21Z
Lists: pgsql-hackers
> > I figured the accompanying code might fit well in the contrib > directory. I don't know who to send it to, though, so I'm just > sending it to you. :-) From the README: /contrib looks like a good place. We need to re-emphasise contrib, rather than putting this in the backend. > > | 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. > > -tih > -- > Popularity is the hallmark of mediocrity. --Niles Crane, "Frasier" > > --1426065427-653378052-884550280=:24931-- > > -- Bruce Momjian maillist@candle.pha.pa.us