From: Tom Lane Date: Sun, 20 Dec 2020 20:28:22 +0000 (-0500) Subject: Doc: fix description of how to use src/tutorial files. X-Git-Tag: REL9_5_25~40 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=7414a0517e82c66795929275899d66a24acd39a8;p=postgresql.git Doc: fix description of how to use src/tutorial files. The separate "cd" command before invoking psql made sense (or at least I thought so) when it was added in commit ed1939332. But 4e3a61635 removed the supporting text that explained when to use it, making it just confusing. So drop it. Also switch from four-dot to three-dot filler for the unsupplied part of the path, since at least one person has read the four-dot filler as a typo for "../..". And fix these/those inconsistency. Discussion: https://postgr.es/m/160837647714.673.5195186835607800484@wrigleys.postgresql.org --- diff --git a/doc/src/sgml/query.sgml b/doc/src/sgml/query.sgml index f4fbf11a8d1..02727cd644c 100644 --- a/doc/src/sgml/query.sgml +++ b/doc/src/sgml/query.sgml @@ -28,11 +28,11 @@ PostgreSQL source distribution in the directory src/tutorial/. (Binary distributions of PostgreSQL might not - compile these files.) To use those + provide those files.) To use those files, first change to that directory and run make: -$ cd ..../src/tutorial +$ cd .../src/tutorial $ make @@ -40,12 +40,10 @@ functions and types. Then, to start the tutorial, do the following: -$ cd ..../tutorial $ psql -s mydb ... - mydb=> \i basics.sql