Added to contrib/isbn_issn for isbn and issn. Thanks.
---------------------------------------------------------------------------
Dan Weston wrote:
> I tried to use the isbn data type created in the
> /usr/lib/pgsql/contrib/isbn_issn directory, but couldn't make isbn a
> primary key (it gave me an error message about no default operator class).
>
> A quick search of the Programmer's Guide gave me what I needed below,
> allowing the creation of a btree index. You might want the following to
> add to the file isbn_issn.sql twice, once for 'isbn' and once more
> changing 'isbn' to 'issn':
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026