Thread: pgsql/contrib/intarray _int.c

pgsql/contrib/intarray _int.c

From
Bruce Momjian - CVS
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/08/04 15:36:45

Modified files:
    contrib/intarray: _int.c

Log message:
    Looks okay in a quick glance, except error message spelling is poor:

    ! #define ARRISNULL(x) ( (x) ? ( ( ARR_NDIM(x) == NDIM ) ? ( ( ARRNELEMS( x ) )
    ? 0 : 1 ) : ( ( ARR_NDIM(x) ) ? (elog(ERROR,"Array is not one-dimentional: %d di
    mentions", ARR_NDIM(x)),1) : 1 ) ) : 1 )

    Should be "one-dimensional" and "dimensions".  Bruce, would you fix that
    when you apply it?

    Tom