-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
5 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- Check current pgsphere version | ||
SELECT pg_sphere_version(); | ||
|