postgresql/src/tutorial
Andrew Dunstan 53972b460c Add $PostgreSQL$ markers to a lot of files that were missing them.
This particular batch was just for *.c and *.h file.

The changes were made with the following 2 commands:

find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'

find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
2008-05-17 01:28:26 +00:00
..
Makefile Implement a few changes to how shared libraries and dynamically loadable 2008-04-07 14:15:58 +00:00
README More README src cleanups. 2008-03-21 13:23:29 +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
complex.c Add $PostgreSQL$ markers to a lot of files that were missing them. 2008-05-17 01:28:26 +00:00
complex.source Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
funcs.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
funcs.source Change \; to ; in RULE, \; unnecessary. 2006-05-22 14:08:06 +00:00
funcs_new.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
syscat.source Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00

README

$PostgreSQL: pgsql/src/tutorial/README,v 1.4 2008/03/21 13:23:29 momjian Exp $

tutorial
========

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.