postgresql/src/tutorial
Tom Lane fc8d970cbc Replace functional-index facility with expressional indexes. Any column
of an index can now be a computed expression instead of a simple variable.
Restrictions on expressions are the same as for predicates (only immutable
functions, no sub-selects).  This fixes problems recently introduced with
inlining SQL functions, because the inlining transformation is applied to
both expression trees so the planner can still match them up.  Along the
way, improve efficiency of handling index predicates (both predicates and
index expressions are now cached by the relcache) and fix 7.3 oversight
that didn't record dependencies of predicate expressions.
2003-05-28 16:04:02 +00:00
..
Makefile Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
README Remove no-longer-needed dependencies on DLSUFFIX. 2001-10-26 20:45:33 +00:00
advanced.source Update obsolete syntax in example of inheritance. 2002-04-11 21:18:50 +00:00
basics.source New blood and fresh air for tutorial 2001-09-02 23:27:50 +00:00
beard.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
complex.c Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
complex.source Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
funcs.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
funcs.source Remove no-longer-needed dependencies on DLSUFFIX. 2001-10-26 20:45:33 +00:00
funcs_new.c pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
syscat.source Replace functional-index facility with expressional indexes. Any column 2003-05-28 16:04:02 +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.