text: --
  -- GRAPHID
  --
  
  -- Insert and Operator
  
  CREATE TABLE GRAPHID_TBL(f1 graphid);
  
  INSERT INTO GRAPHID_TBL(f1) VALUES ('0.0'::graphid);
  INSERT INTO GRAPHID_TBL(f1) VALUES ('12345.1'::graphid);
  INSERT INTO GRAPHID_TBL(f1) VALUES ('12345.12'::graphid);
  INSERT INTO GRAPHID_TBL(f1) VALUES ('12345.123'::graphid);
  INSERT INTO GRAPHID_TBL(f1) VALUES ('12345.1234'::graphid);
  INSERT INTO GRAPHID_TBL(f1) VALUES ('12346.123'::graphid);
  INSERT INTO GRAPHID_TBL(f1) VALUES ('65535.281474976710655'::graphid);
  
  SELECT * FROM GRAPHID_TBL;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 =  '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 <> '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 >  '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 >= '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 <  '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 <= '12345.123'::graphid;
  
  -- Index
  
  CREATE INDEX GRAPHID_TBL_IDX ON GRAPHID_TBL USING GIN (f1);
  
  SET enable_seqscan = off;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 =  '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 <> '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 >  '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 >= '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 <  '12345.123'::graphid;
  SELECT g.* FROM GRAPHID_TBL g WHERE g.f1 <= '12345.123'::graphid;
  SET enable_seqscan = on;
  
  DROP TABLE GRAPHID_TBL;
  