Re: RE : Re: database design ...

From: Shane Ambler <pgsql(at)007Marketing(dot)com>
To: Desmond Coughlan <coughlandesmond(at)yahoo(dot)fr>
Cc: Raymond O'Donnell <rod(at)iol(dot)ie>, pgsql mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: RE : Re: database design ...
Date: 2006-11-15 02:28:38
Message-ID: 455A7B56.4050200@007Marketing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Desmond Coughlan wrote:
> X-No-Archive: true
>
> Just had a thought. If you see ..
>
> http://www.chez.com/desmondcoughlan/unix/cdi_gt.sql

With the ISBN number you may want to look at contrib/isn - this adds
ISBN types.
If not then varchar(12) won't hold the new ISBN-13 format that is in
full effect next year.

From the readme -

This directory contains definitions for a few PostgreSQL
data types, for the following international-standard namespaces:
EAN13, UPC, ISBN (books), ISMN (music), and ISSN (serials). This module
is inspired by Garrett A. Wollman's isbn_issn code.

I wanted the database to fully validate numbers and also to use the
upcoming ISBN-13 and the EAN13 standards, as well as to have it
automatically doing hyphenations for ISBN numbers.

This new module validates, and automatically adds the correct
hyphenations to the numbers. Also, it supports the new ISBN-13
numbers to be used starting in January 2007.

--

Shane Ambler
pgSQL(at)007Marketing(dot)com

Get Sheeky @ http://Sheeky.Biz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Desmond Coughlan 2006-11-15 02:54:29 RE : Re: RE : Re: database design ...
Previous Message Michael Fuhr 2006-11-15 02:24:42 Re: ERROR: type "i" does not exist