aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-12-20 15:28:22 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-12-20 15:28:22 -0500
commitdef510c9fac03965840eca805c5877cea819eca2 (patch)
treee925cdac6c35dc4a086fb1bd0abba46ffc295127
parent3989fdab48d937b448198e9886bb07c6027b00ca (diff)
downloadpostgresql-def510c9fac03965840eca805c5877cea819eca2.tar.gz
postgresql-def510c9fac03965840eca805c5877cea819eca2.zip
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
-rw-r--r--doc/src/sgml/query.sgml6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/sgml/query.sgml b/doc/src/sgml/query.sgml
index c0889743c4c..d58be9c969d 100644
--- a/doc/src/sgml/query.sgml
+++ b/doc/src/sgml/query.sgml
@@ -28,11 +28,11 @@
<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</application>:
<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>
@@ -40,12 +40,10 @@
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>