Re: User defined type - analyze problem

From: Carsten Kropf <ckropf2(at)fh-hof(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: User defined type - analyze problem
Date: 2010-05-04 11:17:22
Message-ID: DA8FADCC-9A62-44A9-BFE1-F2570F2654BF@fh-hof.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks a lot, this helped me with the messages. I thought, I would only have to define a operator class that fullfills at least the equals strategy. I didn't know, that I would have to provide a "full" btree operator class.

Best regards
Carsten Kropf
Am 03.05.2010 um 15:56 schrieb Tom Lane:

> Carsten Kropf <ckropf2(at)fh-hof(dot)de> writes:
>> I read somewhere, that this can be solved by preparing a operator class for btree and passing a comparison function for equality 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
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ray Stell 2010-05-04 12:30:22 Re: SSL error
Previous Message AI Rumman 2010-05-04 11:12:16 Re: SSL error