postgresql/src/tutorial
Tom Lane 8e3f104440 Doc: sync src/tutorial/basics.source with SGML documentation.
basics.source is supposed to be pretty closely in step with
the examples in chapter 2 of the tutorial, but I forgot to
update it in commit f05a5e000.  Fix that, and adjust a couple
of other discrepancies that had crept in over time.

(I notice that advanced.source is nowhere near being in sync
with chapter 3, but I lack the ambition to do something
about that right now.)
2022-11-19 13:09:14 -05:00
..
.gitignore Add .gitignore to src/tutorial/ 2019-11-22 21:14:54 +09:00
Makefile Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
README Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
advanced.source tutorial: land height is "elevation", not "altitude" 2021-03-10 20:25:19 -05:00
basics.source Doc: sync src/tutorial/basics.source with SGML documentation. 2022-11-19 13:09:14 -05:00
complex.c Deduplicate "invalid input syntax" messages for various types. 2018-07-22 14:58:01 -07:00
complex.source Update copyright for 2022 2022-01-07 19:04:57 -05:00
funcs.c Remove traces of version-0 calling convention in src/tutorial/ 2019-11-22 21:08:49 +09:00
funcs.source Doc, more or less: uncomment tutorial example that was fixed long ago. 2021-01-13 16:00:03 -05:00
syscat.source Update copyright for 2022 2022-01-07 19:04:57 -05:00

README

src/tutorial/README

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.