8000 Make release 1.4.1 by vitcpp · Pull Request #110 · postgrespro/pgsphere · GitHub
[go: up one dir, main page]

Skip to content

Make release 1.4.1 #110

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Add version.sql test
Current version check was moved from init.sql into version.sql because
init.sql it is not executed with the 'test' target.
  • Loading branch information
vitcpp committed Nov 22, 2023
commit 902ba8da469da799dd18ca3b68b8915bd4d381b5
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ DATA_built = $(RELEASE_SQL) \
pg_sphere--1.3.1--1.4.0.sql

DOCS = README.pg_sphere COPYRIGHT.pg_sphere
TESTS = tables points euler circle line ellipse poly path box \
TESTS = version tables points euler circle line ellipse poly path box \
index contains_ops contains_ops_compat bounding_box_gist gnomo \
epochprop contains overlaps spoint_brin sbox_brin selectivity
REGRESS = init $(TESTS)
Expand Down
9 changes: 1 addition & 8 deletions expected/init.out
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
--
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of pg_sphere.sql.
-- Initialize the extension.
--
CREATE EXTENSION pg_sphere;
select pg_sphere_version();
pg_sphere_version
-------------------
1.4.0
(1 row)

7 changes: 7 additions & 0 deletions expected/version.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Check current pgsphere version
SELECT pg_sphere_version();
pg_sphere_version
-------------------
1.4.0
(1 row)

5 changes: 1 addition & 4 deletions sql/init.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
--
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of pg_sphere.sql.
-- Initialize the extension.
--
CREATE EXTENSION pg_sphere;

select pg_sphere_version();
3 changes: 3 additions & 0 deletions sql/version.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Check current pgsphere version
SELECT pg_sphere_version();

0