pgsql-server: Give inet/cidr datatypes their own hash function that - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server: Give inet/cidr datatypes their own hash function that
Date
Msg-id 20040613215728.BD775D1B1DA@svr1.postgresql.org
Whole thread Raw
Responses Re: pgsql-server: Give inet/cidr datatypes their own hash
List pgsql-committers
Log Message:
-----------
Give inet/cidr datatypes their own hash function that ignores the inet vs
cidr type bit, the same as network_eq does.  This is needed for hash joins
and hash aggregation to work correctly on these types.  Per bug report
from Michael Fuhr, 2004-04-13.
Also, improve hash function for int8 as suggested by Greg Stark.

Modified Files:
--------------
    pgsql-server/src/backend/access/hash:
        hashfunc.c (r1.39 -> r1.40)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/access/hash/hashfunc.c.diff?r1=1.39&r2=1.40)
    pgsql-server/src/backend/utils/adt:
        network.c (r1.51 -> r1.52)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/network.c.diff?r1=1.51&r2=1.52)
    pgsql-server/src/include/catalog:
        catversion.h (r1.234 -> r1.235)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/catalog/catversion.h.diff?r1=1.234&r2=1.235)
        pg_amproc.h (r1.48 -> r1.49)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/catalog/pg_amproc.h.diff?r1=1.48&r2=1.49)
        pg_proc.h (r1.336 -> r1.337)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/catalog/pg_proc.h.diff?r1=1.336&r2=1.337)
    pgsql-server/src/include/utils:
        builtins.h (r1.242 -> r1.243)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/builtins.h.diff?r1=1.242&r2=1.243)
        inet.h (r1.17 -> r1.18)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/inet.h.diff?r1=1.17&r2=1.18)
    pgsql-server/src/test/regress/expected:
        opr_sanity.out (r1.53 -> r1.54)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/test/regress/expected/opr_sanity.out.diff?r1=1.53&r2=1.54)
    pgsql-server/src/test/regress/sql:
        opr_sanity.sql (r1.42 -> r1.43)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/test/regress/sql/opr_sanity.sql.diff?r1=1.42&r2=1.43)

pgsql-committers by date:

Previous
From: petere@svr1.postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql-server: Remove README.CVS when making a distribution.
Next
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server: Re-add: > * Remove unreferenced table files and temp