Skip to content

Commit 44ba292

Browse files
committed
Update contrib/seg for new scalarlesel/scalargesel selectivity functions.
I somehow missed this module in commit 7d08ce2.
1 parent 7d08ce2 commit 44ba292

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

contrib/seg/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ MODULE_big = seg
44
OBJS = seg.o segparse.o $(WIN32RES)
55

66
EXTENSION = seg
7-
DATA = seg--1.1.sql seg--1.0--1.1.sql seg--unpackaged--1.0.sql
7+
DATA = seg--1.1.sql seg--1.1--1.2.sql \
8+
seg--1.0--1.1.sql seg--unpackaged--1.0.sql
89
PGFILEDESC = "seg - line segment data type"
910

1011
REGRESS = seg

contrib/seg/seg--1.1--1.2.sql

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* contrib/seg/seg--1.1--1.2.sql */
2+
3+
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
4+
\echo Use "ALTER EXTENSION seg UPDATE TO '1.2'" to load this file. \quit
5+
6+
ALTER OPERATOR <= (seg, seg) SET (
7+
RESTRICT = scalarlesel,
8+
JOIN = scalarlejoinsel
9+
);
10+
11+
ALTER OPERATOR >= (seg, seg) SET (
12+
RESTRICT = scalargesel,
13+
JOIN = scalargejoinsel
14+
);

contrib/seg/seg.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# seg extension
22
comment = 'data type for representing line segments or floating-point intervals'
3-
default_version = '1.1'
3+
default_version = '1.2'
44
module_pathname = '$libdir/seg'
55
relocatable = true

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy