I have the following custom type:
CREATE TYPE param_range AS (
param smallint,
range int4range
);
The following table:
CREATE TABLE test4
(
id serial NOT NULL,
geo point,
ext param_range[]
)
The following indexes:
CREATE INDEX ix_test4_geo ON test4 USING GIST ((geo));
CREATE INDEX ix_test4_ext on test4 USING GIN (ext);
The GIN index requires an operator / function for the custom type. How do I do this?