Skip site navigation (1) Skip section navigation (2)

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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Give inet/cidr datatypes their own hash function that
Date: 2004-06-13 21:57:28
Message-ID: 20040613215728.BD775D1B1DA@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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)

Responses

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-06-13 23:39:31
Subject: pgsql-server: Re-add: > * Remove unreferenced table files and temp
Previous:From: Peter EisentrautDate: 2004-06-13 21:51:37
Subject: pgsql-server: Remove README.CVS when making a distribution.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group