OBJS = seg.o segparse.o $(WIN32RES)
EXTENSION = seg
-DATA = seg--1.1.sql seg--1.0--1.1.sql seg--unpackaged--1.0.sql
+DATA = seg--1.1.sql seg--1.1--1.2.sql \
+ seg--1.0--1.1.sql seg--unpackaged--1.0.sql
PGFILEDESC = "seg - line segment data type"
REGRESS = seg
--- /dev/null
+/* contrib/seg/seg--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION seg UPDATE TO '1.2'" to load this file. \quit
+
+ALTER OPERATOR <= (seg, seg) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel
+);
+
+ALTER OPERATOR >= (seg, seg) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel
+);