|
1 | 1 | <!--
|
2 |
| -$PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.37 2004/08/08 21:33:11 tgl Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.38 2004/08/30 21:25:27 tgl Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter id="tutorial-sql">
|
@@ -28,9 +28,18 @@ $PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.37 2004/08/08 21:33:11 tgl Exp $
|
28 | 28 | <para>
|
29 | 29 | Examples in this manual can also be found in the
|
30 | 30 | <productname>PostgreSQL</productname> source distribution
|
31 |
| - in the directory <filename>src/tutorial/</filename>. Refer to the |
32 |
| - <filename>README</filename> file in that directory for how to use |
33 |
| - them. To start the tutorial, do the following: |
| 31 | + in the directory <filename>src/tutorial/</filename>. To use those |
| 32 | + files, first change to that directory and run <application>make</>: |
| 33 | + |
| 34 | +<screen> |
| 35 | +<prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/src/tutorial</userinput> |
| 36 | +<prompt>$</prompt> <userinput>make</userinput> |
| 37 | +</screen> |
| 38 | + |
| 39 | + This creates the scripts and compiles the C files containing user-defined |
| 40 | + functions and types. (You must use GNU make for this --- it may be named |
| 41 | + something different on your system, often <application>gmake</>.) |
| 42 | + Then, to start the tutorial, do the following: |
34 | 43 |
|
35 | 44 | <screen>
|
36 | 45 | <prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/src/tutorial</userinput>
|
|