postgresql/src/tutorial
Tom Lane 2e5fda7b7e DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax
'aggname (aggtype)'.  The old syntax 'aggname aggtype' is still accepted
for backwards compatibility.  Fix pg_dump, which was actually broken for
most cases of user-defined aggregates.  Clean up error messages associated
with these commands.
2001-10-03 20:54:22 +00:00
..
advanced.source New blood and fresh air for tutorial 2001-09-02 23:27:50 +00:00
basics.source New blood and fresh air for tutorial 2001-09-02 23:27:50 +00:00
beard.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
complex.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
complex.source DROP AGGREGATE and COMMENT ON AGGREGATE now accept the expected syntax 2001-10-03 20:54:22 +00:00
funcs.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
funcs.source Fix some bogosity in the tutorial examples. 2000-03-28 02:49:19 +00:00
funcs_new.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
Makefile Fix Cygwin build, per Jason Tishler. 2001-08-09 13:52:06 +00:00
README From: Darren King <darrenk@insightdist.com> 1998-03-01 04:52:59 +00:00
syscat.source Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in 2001-08-21 16:36:06 +00: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
and types.  (make needs to be GNU make and may be named something
different on your system)

Then, run psql with the -s flag:
	% psql -s

Welcome to the POSTGRESQL interactive sql monitor:
  Please read the file COPYRIGHT for copyright terms of POSTGRESQL

   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.