Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bd6939a

Browse files
committed
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 ed19393. But 4e3a616 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
1 parent 22d1569 commit bd6939a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/src/sgml/query.sgml

+2-4
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,22 @@
2828
<productname>PostgreSQL</productname> source distribution
2929
in the directory <filename>src/tutorial/</filename>. (Binary
3030
distributions of <productname>PostgreSQL</productname> might not
31-
compile these files.) To use those
31+
provide those files.) To use those
3232
files, first change to that directory and run <application>make</application>:
3333

3434
<screen>
35-
<prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/src/tutorial</userinput>
35+
<prompt>$</prompt> <userinput>cd <replaceable>...</replaceable>/src/tutorial</userinput>
3636
<prompt>$</prompt> <userinput>make</userinput>
3737
</screen>
3838

3939
This creates the scripts and compiles the C files containing user-defined
4040
functions and types. Then, to start the tutorial, do the following:
4141

4242
<screen>
43-
<prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/tutorial</userinput>
4443
<prompt>$</prompt> <userinput>psql -s mydb</userinput>
4544
<computeroutput>
4645
...
4746
</computeroutput>
48-
4947
<prompt>mydb=&gt;</prompt> <userinput>\i basics.sql</userinput>
5048
</screen>
5149

0 commit comments

Comments
 (0)