~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/tutorial/README

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
$PostgreSQL$
 
2
 
 
3
tutorial
 
4
========
 
5
 
 
6
This directory contains SQL tutorial scripts.  To look at them, first do a
 
7
        % make
 
8
to compile all the scripts and C files for the user-defined functions
 
9
and types.  (make needs to be GNU make --- it may be named something
 
10
different on your system, often gmake)
 
11
 
 
12
Then, run psql with the -s (single-step) flag:
 
13
        % psql -s
 
14
 
 
15
From within psql, you can try each individual script file by using
 
16
psql's \i <filename> command.