postgresql/src/tutorial
Tom Lane d08741eab5 Restructure the key include files per recent pghackers discussion: there
are now separate files "postgres.h" and "postgres_fe.h", which are meant
to be the primary include files for backend .c files and frontend .c files
respectively.  By default, only include files meant for frontend use are
installed into the installation include directory.  There is a new make
target 'make install-all-headers' that adds the whole content of the
src/include tree to the installed fileset, for use by people who want to
develop server-side code without keeping the complete source tree on hand.
Cleaned up a whole lot of crufty and inconsistent header inclusions.
2001-02-10 02:31:31 +00:00
..
Makefile Add support for VPATH builds, that is, building somewhere else than in the 2000-10-20 21:04:27 +00:00
README From: Darren King <darrenk@insightdist.com> 1998-03-01 04:52:59 +00:00
advanced.source Rename tuturials for char2/char16 removal. 1999-07-08 15:28:51 +00:00
basics.source Rename example temp to mytemp. 1999-07-08 15:27:01 +00:00
beard.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
complex.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
complex.source Revise aggregate functions per earlier discussions in pghackers. 2000-07-17 03:05:41 +00:00
funcs.c Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
funcs.source Fix some bogosity in the tutorial examples. 2000-03-28 02:49:19 +00:00
funcs_new.c Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
syscat.source Fix spelling of "including 1998-03-20 04:12:25 +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, 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.