postgresql/src/tutorial
Tom Lane 375369acd1 Replace TupleTableSlot convention for whole-row variables and function
results with tuples as ordinary varlena Datums.  This commit does not
in itself do much for us, except eliminate the horrid memory leak
associated with evaluation of whole-row variables.  However, it lays the
groundwork for allowing composite types as table columns, and perhaps
some other useful features as well.  Per my proposal of a few days ago.
2004-04-01 21:28:47 +00:00
..
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
README Remove no-longer-needed dependencies on DLSUFFIX. 2001-10-26 20:45:33 +00:00
advanced.source make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
basics.source make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
beard.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
complex.c Update the complex-datatype example to V1 function calling conventions, 2003-10-21 22:51:14 +00:00
complex.source $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
funcs.c Replace TupleTableSlot convention for whole-row variables and function 2004-04-01 21:28:47 +00:00
funcs.source make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
funcs_new.c Replace TupleTableSlot convention for whole-row variables and function 2004-04-01 21:28:47 +00:00
syscat.source make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +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 --- it may be named something
different on your system, often gmake)

Then, run psql with the -s (single-step) flag:
	% psql -s

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