Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite810f5d

Browse files
committed
Drop obsolete compatibility @({bigint,spoint}, smoc) operators
These were required by GAVO DaCHS, but are not used anymore.Furthermore, PG17 will forbid declaring commutators and negatorsrelations with operators that themselves have relations to differentoperators.We delete pgs_moc_compat.sql.in and remove it from the oldpg_sphere--1.1.5beta2gavo--1.1.5beta4gavo.sql upgrade script. This is okto do since dropping the operators uses "if exists".Discussion:https://www.postgresql.org/message-id/flat/ZTfL1G1fBPQHVPWV%40msg.df7cb.de#ce3801c084bcf05b6b976cb2d0e25b2dClose#85.
1 parent42b0004 commite810f5d

File tree

3 files changed

+6
-24
lines changed

3 files changed

+6
-24
lines changed

‎Makefile‎

Lines changed: 2 additions & 2 deletions
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.sqlpgs_moc_compat.sqlpgs_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

‎pgs_moc_compat.sql.in‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎upgrade_scripts/pg_sphere--1.3.1--1.3.2.sql.in‎

Lines changed: 4 additions & 0 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp