|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.53 2009/06/17 21:58:49 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.54 2010/02/19 01:15:54 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="tutorial-sql"> |
4 | 4 | <title>The <acronym>SQL</acronym> Language</title> |
|
26 | 26 | <para> |
27 | 27 | Examples in this manual can also be found in the |
28 | 28 | <productname>PostgreSQL</productname> source distribution |
29 | | - in the directory <filename>src/tutorial/</filename>. To use those |
| 29 | + in the directory <filename>src/tutorial/</filename>. (Binary |
| 30 | + distributions of <productname>PostgreSQL</productname> might not |
| 31 | + compile these files.) To use those |
30 | 32 | files, first change to that directory and run <application>make</>: |
31 | 33 |
|
32 | 34 | <screen> |
|
35 | 37 | </screen> |
36 | 38 |
|
37 | 39 | This creates the scripts and compiles the C files containing user-defined |
38 | | - functions and types. (If you installed a pre-packaged version of |
39 | | - <productname>PostgreSQL</productname> rather than building from source, |
40 | | - look for a directory named <filename>tutorial</> within the |
41 | | - <productname>PostgreSQL</productname> distribution. The <quote>make</> |
42 | | - part should already have been done for you.) |
43 | | - Then, to start the tutorial, do the following: |
| 40 | + functions and types. Then, to start the tutorial, do the following: |
44 | 41 |
|
45 | 42 | <screen> |
46 | 43 | <prompt>$</prompt> <userinput>cd <replaceable>....</replaceable>/tutorial</userinput> |
|