Thread: pgsql: Fix incorrect addition, subtraction, and overflow checking in new

pgsql: Fix incorrect addition, subtraction, and overflow checking in new

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix incorrect addition, subtraction, and overflow checking in new
inet operators.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        network.c (r1.64 -> r1.65)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/network.c.diff?r1=1.64&r2=1.65)
    pgsql/src/include/catalog:
        pg_proc.h (r1.395 -> r1.396)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h.diff?r1=1.395&r2=1.396)
    pgsql/src/test/regress/expected:
        inet.out (r1.20 -> r1.21)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/inet.out.diff?r1=1.20&r2=1.21)
    pgsql/src/test/regress/sql:
        inet.sql (r1.12 -> r1.13)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/inet.sql.diff?r1=1.12&r2=1.13)