Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

tutorial

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    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
    234a02b2
    History
    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.