Re: New pg_lsn type doesn't have hash/btree opclasses - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: New pg_lsn type doesn't have hash/btree opclasses
Date
Msg-id CAB7nPqSuGNztUvhPbKuo4V1k=o5Fsq6GjBr39TN3Kd0m8r1cPQ@mail.gmail.com
Whole thread Raw
In response to Re: New pg_lsn type doesn't have hash/btree opclasses  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Tue, May 6, 2014 at 10:49 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> Makes sense, especially knowing operators needed for btree processing
> are already defined. Patch attached solves that.
Please find attached an updated patch, I completely forgot that the
compare function needs to return {-1, 0, 1}.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: default opclass for jsonb (was Re: Call for GIST/GIN/SP-GIST opclass documentation)
Next
From: Andres Freund
Date:
Subject: Re: New pg_lsn type doesn't have hash/btree opclasses