Re: RE : Re: database design ... - Mailing list pgsql-general

From Shane Ambler
Subject Re: RE : Re: database design ...
Date
Msg-id 455A7B56.4050200@007Marketing.com
Whole thread Raw
In response to RE : Re: database design ...  (Desmond Coughlan <coughlandesmond@yahoo.fr>)
Responses RE : Re: RE : Re: database design ...
List 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@007Marketing.com

Get Sheeky @ http://Sheeky.Biz

pgsql-general by date:

Previous
From: Shane Ambler
Date:
Subject: Re: RE : Re: database design ...
Next
From: Desmond Coughlan
Date:
Subject: RE : Re: RE : Re: database design ...