Is there maybe GIST support patch for UUID datatype?
I do not it it concretly just for UUID column... it is more because of I need it in EXCLUDE constraint...
CREATE TABLE test_exclude
{
id serial NOT NULL,
guid uuid NOT NULL,
valid_period period NOT NULL,
CONSTRAINT "test_excludepk" PRIMARY KEY (id),
EXCLUDE USING gist (guid WITH =. valid_period WITH &&) --for the same guid, period must not overlap...
}
Thanks,
Misa