Doc: fix description of how to use src/tutorial files.
authorTom Lane <[email protected]>
Sun, 20 Dec 2020 20:28:22 +0000 (15:28 -0500)
committerTom Lane <[email protected]>
Sun, 20 Dec 2020 20:28:22 +0000 (15:28 -0500)
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

doc/src/sgml/query.sgml

index 98434925df32447b710334b7cbf036c0dfd343d6..10a1e64ab45b35bc841ff9bd90a7479f38e6baf0 100644 (file)
     <productname>PostgreSQL</productname> source distribution
     in the directory <filename>src/tutorial/</filename>.  (Binary
     distributions of <productname>PostgreSQL</productname> might not
-    compile these files.)  To use those
+    provide those files.)  To use those
     files, first change to that directory and run <application>make</>:
 
 <screen>
-<prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/src/tutorial</userinput>
+<prompt>$</prompt> <userinput>cd <replaceable>...</replaceable>/src/tutorial</userinput>
 <prompt>$</prompt> <userinput>make</userinput>
 </screen>
 
     functions and types.  Then, to start the tutorial, do the following:
 
 <screen>
-<prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/tutorial</userinput>
 <prompt>$</prompt> <userinput>psql -s mydb</userinput>
 <computeroutput>
 ...
 </computeroutput>
-
 <prompt>mydb=&gt;</prompt> <userinput>\i basics.sql</userinput>
 </screen>