pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Hoffmann <jeff@propertykey.com>
To: D'Arcy J.M. Cain <darcy@druid.net>
Cc: Gary MacMinn <G.MacMinn@nca.gov.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: Merging two columns into one
Date: Fri, 23 Jun 2000 10:42:26 -0500
Message-ID: <39538562.1A0BB4BC@propertykey.com> (raw)
References: <m135RkH-000AY3C@druid.net>

"D'Arcy J.M. Cain" wrote:
> 
> PostgreSQL could use a
> phone number type.  I have been meaning to write a user defined type
> for some time but never seem to get around to it.  Maybe you could
> give this a shot.  The examples in contrib should get you started.
> Once finished you can make the phone # one column and split out parts
> with various functions.  Don't forget to have a place for country code
> and extension.

i messed around with one a while back, but i dropped it before i
finished it.
if i recall correctly, it was mostly working, but i don't know if i
broke it again after that or not.  i'll put a copy of it on my web site
-- you can download it, clean it up and put it in contrib if you want. 
i just tarred up the files, there's no documentation for it & barely any
copyright info in it.  put whatever license you want on it if you want
to reuse it.

the files located at:
http://www.potlatch.org/source/phone.tar.gz

-- 

Jeff Hoffmann
PropertyKey.com



view thread (7+ messages)  latest in thread

Message-ID: <39538562.1A0BB4BC@propertykey.com>
Permalink:  ../39538562.1A0BB4BC@propertykey.com/
Also on:    postgresql.org/message-id/39538562.1A0BB4BC@propertykey.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jeff@propertykey.com, darcy@druid.net, G.MacMinn@nca.gov.au
  Subject: Re: Merging two columns into one
  In-Reply-To: <39538562.1A0BB4BC@propertykey.com>
  References: <m135RkH-000AY3C@druid.net> <39538562.1A0BB4BC@propertykey.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox