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

Alter spoint op family to add missed operator 17 (<->)#121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletionMakefile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -35,7 +35,8 @@ DATA_built = $(RELEASE_SQL) \
pg_sphere--1.3.1--1.4.0.sql \
pg_sphere--1.4.0--1.4.1.sql \
pg_sphere--1.4.1--1.4.2.sql \
pg_sphere--1.4.2--1.5.0.sql
pg_sphere--1.4.2--1.5.0.sql \
pg_sphere--1.5.0--1.5.1.sql

DOCS = README.pg_sphere COPYRIGHT.pg_sphere
TESTS = version tables points euler circle line ellipse poly path box \
Expand DownExpand Up@@ -214,6 +215,9 @@ pg_sphere--1.4.0--1.4.1.sql pg_sphere--1.4.1--1.4.2.sql:
pg_sphere--1.4.2--1.5.0.sql:
cat upgrade_scripts/$@.in $^ > $@

pg_sphere--1.5.0--1.5.1.sql:
cat upgrade_scripts/$@.in $^ > $@

# end of local stuff

src/sscan.o : src/sparse.c
Expand Down
2 changes: 1 addition & 1 deletionMakefile.common.mk
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,4 +5,4 @@
#----------------------------------------------------------------------------

EXTENSION := pg_sphere
PGSPHERE_VERSION := 1.5.0
PGSPHERE_VERSION := 1.5.1
2 changes: 1 addition & 1 deletionexpected/version.out
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,6 +2,6 @@
SELECT pg_sphere_version();
pg_sphere_version
-------------------
1.5.0
1.5.1
(1 row)

2 changes: 1 addition & 1 deletionpg_sphere.control
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
# pg_sphere extension
comment = 'spherical objects with useful functions, operators and index support'
default_version = '1.5.0'
default_version = '1.5.1'
module_pathname = '$libdir/pg_sphere'
relocatable = true
11 changes: 11 additions & 0 deletionsupgrade_scripts/pg_sphere--1.5.0--1.5.1.sql.in
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
-- Upgrade: 1.5.0 -> 1.5.1

DO $$
BEGIN
ALTER OPERATOR FAMILY spoint USING gist ADD
OPERATOR 17 <-> (spoint, spoint) FOR ORDER BY float_ops;
EXCEPTION
WHEN duplicate_object THEN NULL;
WHEN OTHERS THEN RAISE;
END;
$$;

[8]ページ先頭

©2009-2025 Movatter.jp