postgresql/src/tutorial
Thomas G. Lockhart 9e22f82562 Fix typos in SQL statement terminators. 1998-02-11 03:51:38 +00:00
..
C-code Goodbye ABORT. Hello ERROR for all errors. 1998-01-07 21:07:04 +00:00
Makefile Various fixes NETBSD/sparc related 1998-01-04 19:13:04 +00:00
README Postgres95 1.01 Distribution - Virgin Sources 1996-07-09 06:22:35 +00:00
advanced.source Postgres95 1.01 Distribution - Virgin Sources 1996-07-09 06:22:35 +00:00
basics.source Typo changes in tests/ examples. 1997-06-25 19:59:57 +00:00
complex.source Here is a bug fix and some spelling changes for the complex number tutorial 1996-12-28 02:22:12 +00:00
funcs.source Fix typos in SQL statement terminators. 1998-02-11 03:51:38 +00:00
syscat.source Postgres95 1.01 Distribution - Virgin Sources 1996-07-09 06:22:35 +00:00

README

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
and types.  (make needs to be GNU make and may be named something
different on your system)

Then, change to the object directory
	% cd obj

and run psql with the -s flag:
	% psql -s

Welcome to the POSTGRES95 interactive sql monitor:

   type \? for help on slash commands
   type \q to quit
   type \g or terminate with semicolon to execute query
 You are currently connected to the database: jolly

jolly==>

From within psql, you can try each individual script file by using
the \i <filename> psql command.