You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
postgres/src/tutorial
Bruce Momjian 344190b7ef Fixup for src/tutorial/func.c and src/tutorial/func.source 27 years ago
..
Makefile From: Darren King <darrenk@insightdist.com> 28 years ago
README From: Darren King <darrenk@insightdist.com> 28 years ago
advanced.source From: Darren King <darrenk@insightdist.com> 28 years ago
basics.source Typo changes in tests/ examples. 29 years ago
beard.c Change my-function-name-- to my_function_name, and optimizer renames. 27 years ago
complex.c Renaming cleanup, no pgindent yet. 28 years ago
complex.source From: Darren King <darrenk@insightdist.com> 28 years ago
funcs.c Fixup for src/tutorial/func.c and src/tutorial/func.source 27 years ago
funcs.source Fixup for src/tutorial/func.c and src/tutorial/func.source 27 years ago
syscat.source Fix spelling of "including 28 years ago

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 and may be named something
different on your system)

Then, run psql with the -s flag:
% psql -s

Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: jolly

jolly==>

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