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

Appearance settings

Commit c336e90

Browse filesBrowse 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 c7a0b94 commit c336e90
Copy full SHA for c336e90

File tree

Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed

‎doc/src/sgml/query.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/query.sgml
+2-4Lines changed: 2 additions & 4 deletions
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</>:
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.