| От | Tom Lane |
|---|---|
| Тема | Re: User defined type - analyze problem |
| Дата | |
| Msg-id | 14418.1272894985@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | User defined type - analyze problem (Carsten Kropf <ckropf2@fh-hof.de>) |
| Ответы |
Re: User defined type - analyze problem
|
| Список | pgsql-general |
Carsten Kropf <ckropf2@fh-hof.de> writes:
> I read somewhere, that this can be solved by preparing a operator class for btree and passing a comparison function
forequality there. I did this with the following lines:
> CREATE OPERATOR CLASS pointnd_btree_class
> DEFAULT FOR TYPE pointnd USING btree AS
> OPERATOR 3 =(pointnd, pointnd)
> ;
You need an actual, usable btree operator class, not one-sixth of one ...
this is lacking the other four operators and the support function.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера