Skip to content

Commit 6f19a10

Browse files
authored
Merge pull request #92 from cybertec-postgresql/drop-compat-ops
Drop obsolete compatibility @({bigint,spoint}, smoc) operators
2 parents 42b0004 + e810f5d commit 6f19a10

File tree

3 files changed

+6
-24
lines changed

3 files changed

+6
-24
lines changed

Diff for: Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ endif
6565
PGS_SQL += pgs_gist_spoint3.sql
6666

6767
ifneq ($(USE_HEALPIX),0)
68-
PGS_SQL += pgs_moc_type.sql pgs_moc_compat.sql pgs_moc_ops.sql \
68+
PGS_SQL += pgs_moc_type.sql pgs_moc_ops.sql \
6969
pgs_moc_geo_casts.sql
7070
endif
7171

@@ -154,7 +154,7 @@ ifneq ($(USE_HEALPIX),0)
154154
pg_sphere--1.1.5beta0gavo--1.1.5beta2gavo.sql: pgs_moc_type.sql.in
155155
cat upgrade_scripts/$@.in $^ > $@
156156

157-
pg_sphere--1.1.5beta2gavo--1.1.5beta4gavo.sql: pgs_moc_compat.sql.in
157+
pg_sphere--1.1.5beta2gavo--1.1.5beta4gavo.sql:
158158
cat upgrade_scripts/$@.in $^ > $@
159159

160160
pg_sphere--1.1.5beta4gavo--1.2.0.sql: pgs_moc_ops.sql.in

Diff for: pgs_moc_compat.sql.in

-22
This file was deleted.

Diff for: upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in

+4
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ EXCEPTION
1212
WHEN OTHERS THEN RAISE;
1313
END;
1414
$$;
15+
16+
-- remove legacy spellings of operators
17+
DROP OPERATOR IF EXISTS @(bigint, smoc);
18+
DROP OPERATOR IF EXISTS @(spoint, smoc);

0 commit comments

Comments
 (0)