A small type extension example for the contrib directory (fwd)

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема A small type extension example for the contrib directory (fwd)
Дата
Msg-id Pine.BSF.3.96.980125031048.28536d-100000@thelab.hub.org
обсуждение исходный текст
Ответы Re: [HACKERS] A small type extension example for the contrib directory (fwd)  (Brett McCormick <brett@abraxas.scene.com>)
Re: [HACKERS] A small type extension example for the contrib directory (fwd)  (Peter T Mount <psqlhack@maidast.demon.co.uk>)
Re: [HACKERS] A small type extension example for the contrib directory (fwd)  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] A small type extension example for the contrib directory (fwd)  (Tom I Helbekkmo <tih@Hamartun.Priv.NO>)
Re: [HACKERS] A small type extension example for the contrib directory (fwd)  (darcy@druid.net (D'Arcy J.M. Cain))
Re: [HACKERS] A small type extension example for the contrib directory (fwd)  ("Stan Brown" <stanb@awod.com>)
Список pgsql-hackers
Hi...

    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...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

---------- Forwarded message ----------
Date: Sun, 11 Jan 1998 21:24:40 +0100 (CET)
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
To: The Hermit Hacker <scrappy@hub.org>
Subject: A small type extension example for the contrib directory

Hi!

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:

| 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"

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

Предыдущее
От: Jan Vicherek
Дата:
Сообщение: extension to SQL to access TIDs from indices
Следующее
От: Brett McCormick
Дата:
Сообщение: ignore array query