Re: Added index ability for isbn-issn contrib example
| От | Bruce Momjian |
|---|---|
| Тема | Re: Added index ability for isbn-issn contrib example |
| Дата | |
| Msg-id | 200206232121.g5NLLC217023@candle.pha.pa.us обсуждение |
| Ответ на | Added index ability for isbn-issn contrib example (Dan Weston <ddweston@cinesite.com>) |
| Список | 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 по дате отправления: