Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    5cabcfcc
    Modify array operations to include array's element type OID in the · 5cabcfcc
    Tom Lane authored
    array header, and to compute sizing and alignment of array elements
    the same way normal tuple access operations do --- viz, using the
    tupmacs.h macros att_addlength and att_align.  This makes the world
    safe for arrays of cstrings or intervals, and should make it much
    easier to write array-type-polymorphic functions; as examples see
    the cleanups of array_out and contrib/array_iterator.  By Joe Conway
    and Tom Lane.
    5cabcfcc
    History
    Modify array operations to include array's element type OID in the
    Tom Lane authored
    array header, and to compute sizing and alignment of array elements
    the same way normal tuple access operations do --- viz, using the
    tupmacs.h macros att_addlength and att_align.  This makes the world
    safe for arrays of cstrings or intervals, and should make it much
    easier to write array-type-polymorphic functions; as examples see
    the cleanups of array_out and contrib/array_iterator.  By Joe Conway
    and Tom Lane.