postgresql/src/tutorial
Tom Lane dce6249081 Doc, more or less: uncomment tutorial example that was fixed long ago.
Reverts a portion of commit 344190b7e.  Apparently, back in the
twentieth century we had some issues with multi-statement SQL
functions, but they've worked fine for a long time.

Daniel Westermann

Discussion: https://postgr.es/m/GVAP278MB04242DCBF5E31F528D53FA18D2A90@GVAP278MB0424.CHEP278.PROD.OUTLOOK.COM
2021-01-13 16:00:03 -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 SQL comment: remove extra word in heading comment 2019-01-25 18:57:21 -05:00
basics.source doc: Change table alias names to lower case in tutorial chapter 2020-09-04 08:45:57 +02:00
complex.c Deduplicate "invalid input syntax" messages for various types. 2018-07-22 14:58:01 -07:00
complex.source Update copyright for 2021 2021-01-02 13:06:25 -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 2021 2021-01-02 13:06:25 -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.