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.
|