From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dan Weston <ddweston(at)cinesite(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Added index ability for isbn-issn contrib example |
Date: | 2002-06-23 21:21:12 |
Message-ID: | 200206232121.g5NLLC217023@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Ben C | 2002-06-23 22:28:21 | Redirecting Output |
Previous Message | Oskar Berggren | 2002-06-23 19:30:42 | Re: SQL server application porting headache |