Re: Added index ability for isbn-issn contrib example - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Added index ability for isbn-issn contrib example
Date
Msg-id 200206232121.g5NLLC217023@candle.pha.pa.us
Whole thread Raw
In response to Added index ability for isbn-issn contrib example  (Dan Weston <ddweston@cinesite.com>)
List 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@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



pgsql-general by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: website design
Next
From: "Mourad EL HADJ MIMOUNE"
Date:
Subject: Table name length (maximum identifier length)