2008-03-21 14:23:29 +01:00
|
|
|
$PostgreSQL: pgsql/src/tutorial/README,v 1.4 2008/03/21 13:23:29 momjian Exp $
|
|
|
|
|
|
|
|
tutorial
|
|
|
|
========
|
|
|
|
|
1996-07-09 08:22:35 +02:00
|
|
|
This directory contains SQL tutorial scripts. To look at them, first do a
|
|
|
|
% make
|
|
|
|
to compile all the scripts and C files for the user-defined functions
|
2001-10-26 22:45:33 +02:00
|
|
|
and types. (make needs to be GNU make --- it may be named something
|
|
|
|
different on your system, often gmake)
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2001-10-26 22:45:33 +02:00
|
|
|
Then, run psql with the -s (single-step) flag:
|
1996-07-09 08:22:35 +02:00
|
|
|
% psql -s
|
|
|
|
|
|
|
|
From within psql, you can try each individual script file by using
|
2001-10-26 22:45:33 +02:00
|
|
|
psql's \i <filename> command.
|