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

Commit2950ff3

Browse files
committed
tutorial: land height is "elevation", not "altitude"
This is a follow-on patch to92c12e4. In that patch, we renamed"altitude" to "elevation" in the docs, based on these details:https://mapscaping.com/blogs/geo-candy/what-is-the-difference-between-elevation-relief-and-altitudeThis renames the tutorial SQL files to match the documentation.Reported-by: max1@inbox.ruDiscussion:https://postgr.es/m/161512392887.1046.3137472627109459518@wrigleys.postgresql.orgBackpatch-through: 9.6
1 parent5f8727f commit2950ff3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/tutorial/advanced.source

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
CREATE TABLE cities (
2424
nametext,
2525
populationfloat8,
26-
altitudeint-- (in ft)
26+
elevationint-- (in ft)
2727
);
2828

2929
CREATE TABLE capitals (
@@ -42,17 +42,17 @@ SELECT * FROM cities;
4242
SELECT * FROM capitals;
4343

4444
-- You can find all cities, including capitals, that
45-
-- are located at analtitude of 500 ft or higher by:
45+
-- are located at anelevation of 500 ft or higher by:
4646

47-
SELECT c.name, c.altitude
47+
SELECT c.name, c.elevation
4848
FROM cities c
49-
WHERE c.altitude > 500;
49+
WHERE c.elevation > 500;
5050

5151
-- To scan rows of the parent table only, use ONLY:
5252

53-
SELECT name,altitude
53+
SELECT name,elevation
5454
FROM ONLY cities
55-
WHEREaltitude > 500;
55+
WHEREelevation > 500;
5656

5757

5858
-- clean up (you must remove the children first)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp