"David E. Wheeler" <da...@justatheory.com> writes:
>     CREATE OPERATOR CLASS json_ops
>     DEFAULT FOR TYPE JSON USING btree AS
>     OPERATOR    3   =  (json, json),
>     FUNCTION    1   json_cmp(json, json);

> This seems to work.

Urk.  You really ought to provide the whole opclass (all 5 operators).
I'm not sure what will blow up if you leave it like that, but it won't
be pretty.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to