234a02b2a8
Get rid of VARATT_SIZE and VARATT_DATA, which were simply redundant with VARSIZE and VARDATA, and as a consequence almost no code was using the longer names. Rename the length fields of struct varlena and various derived structures to catch anyplace that was accessing them directly; and clean up various places so caught. In itself this patch doesn't change any behavior at all, but it is necessary infrastructure if we hope to play any games with the representation of varlena headers. Greg Stark and Tom Lane |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
advanced.source | ||
basics.source | ||
complex.c | ||
complex.source | ||
funcs.c | ||
funcs.source | ||
funcs_new.c | ||
syscat.source |
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.