Skip to content

Commit ceab70d

Browse files
committed
Very minor tweak to README.pg_sphere
1 parent 0d272eb commit ceab70d

File tree

4 files changed

+42
-3
lines changed

4 files changed

+42
-3
lines changed

Diff for: Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,22 @@ else
138138
endif
139139

140140
test: pg_sphere.test.sql sql/init_test.sql
141+
ifneq ($(USE_HEALPIX),0)
142+
cp expected/init_test_healpix.out.in expected/init_test.out
143+
else
144+
cp expected/init_test.out.in expected/init_test.out
145+
endif
141146
$(pg_regress_installcheck) $(PGS_TMP_DIR) $(REGRESS_OPTS) $(TESTS)
142147

143148
pg_sphere.test.sql: $(RELEASE_SQL) $(shlib)
144149
tail -n+3 $< | sed 's,MODULE_PATHNAME,$(realpath $(shlib)),g' >$@
145150

146-
147151
$(RELEASE_SQL): $(addsuffix .in, $(RELEASE_SQL) $(PGS_SQL))
148152
cat $^ > $@
149153

150154
# for "create extension from unpacked*":
151155

152-
UPGRADE_UNP_COMMON = pgs_types.sql pgs_point.sql pgs_euler.sql pgs_circle.sql \
156+
UPGRADE_UNP_COMMON = pgs_types.sql pgs_point.sql pgs_euler.sql pgs_circle.sql \
153157
pgs_line.sql pgs_ellipse.sql pgs_polygon.sql pgs_path.sql \
154158
pgs_box.sql pgs_contains_ops_compat.sql pgs_gist.sql \
155159
pgs_gist_contains_ops.sql contains-ops-fixes-1.sql

Diff for: README.pg_sphere

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ UPDATING AN EXISTING INSTALLATION:
4646
-- You also may want to check what version of pgSphere is installed using
4747
either of following commands:
4848

49-
psql -c "select pg_sphere_version();" <database>
49+
psql -c "SELECT pg_sphere_version();" <database>
5050
psql -c "SELECT * FROM pg_available_extension_versions WHERE name = 'pg_sphere';"
5151

5252
REGRESSION TEST (as the same user as the currently running PostgreSQL server):

Diff for: expected/init_test.out.in

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
SET client_min_messages TO NOTICE;
2+
\set ECHO none
3+
psql:pg_sphere.test.sql:9: NOTICE: type "spoint" is not yet defined
4+
DETAIL: Creating a shell type definition.
5+
psql:pg_sphere.test.sql:16: NOTICE: argument type spoint is only a shell
6+
psql:pg_sphere.test.sql:32: NOTICE: type "strans" is not yet defined
7+
DETAIL: Creating a shell type definition.
8+
psql:pg_sphere.test.sql:39: NOTICE: argument type strans is only a shell
9+
psql:pg_sphere.test.sql:55: NOTICE: type "scircle" is not yet defined
10+
DETAIL: Creating a shell type definition.
11+
psql:pg_sphere.test.sql:62: NOTICE: argument type scircle is only a shell
12+
psql:pg_sphere.test.sql:78: NOTICE: type "sline" is not yet defined
13+
DETAIL: Creating a shell type definition.
14+
psql:pg_sphere.test.sql:85: NOTICE: argument type sline is only a shell
15+
psql:pg_sphere.test.sql:101: NOTICE: type "sellipse" is not yet defined
16+
DETAIL: Creating a shell type definition.
17+
psql:pg_sphere.test.sql:108: NOTICE: argument type sellipse is only a shell
18+
psql:pg_sphere.test.sql:126: NOTICE: type "spoly" is not yet defined
19+
DETAIL: Creating a shell type definition.
20+
psql:pg_sphere.test.sql:133: NOTICE: argument type spoly is only a shell
21+
psql:pg_sphere.test.sql:152: NOTICE: type "spath" is not yet defined
22+
DETAIL: Creating a shell type definition.
23+
psql:pg_sphere.test.sql:159: NOTICE: argument type spath is only a shell
24+
psql:pg_sphere.test.sql:178: NOTICE: type "sbox" is not yet defined
25+
DETAIL: Creating a shell type definition.
26+
psql:pg_sphere.test.sql:185: NOTICE: argument type sbox is only a shell
27+
psql:pg_sphere.test.sql:8540: NOTICE: type "spherekey" is not yet defined
28+
DETAIL: Creating a shell type definition.
29+
psql:pg_sphere.test.sql:8547: NOTICE: argument type spherekey is only a shell
30+
psql:pg_sphere.test.sql:8561: NOTICE: type "pointkey" is not yet defined
31+
DETAIL: Creating a shell type definition.
32+
psql:pg_sphere.test.sql:8568: NOTICE: argument type pointkey is only a shell
33+
psql:pg_sphere.test.sql:8574: NOTICE: argument type pointkey is only a shell
34+
psql:pg_sphere.test.sql:8580: NOTICE: argument type pointkey is only a shell
35+
psql:pg_sphere.test.sql:8586: NOTICE: argument type pointkey is only a shell
File renamed without changes.

0 commit comments

Comments
 (0)