]> granicus.if.org Git - postgresql/commit
Repair erroneous use of hashvarlena() for MACADDR, which is not a
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Dec 2000 23:57:03 +0000 (23:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Dec 2000 23:57:03 +0000 (23:57 +0000)
commit376784cf8ac7dee831471d7fd4159145d135636b
tree62008e893458d778777a871f672c5545d5c9b241
parentfb47385fc8d2314dd7d23d691959c882ead1c31a
Repair erroneous use of hashvarlena() for MACADDR, which is not a
varlena type.  (I did not force initdb, but you won't see the fix
unless you do one.)  Also, make sure all index support operators and
functions are careful not to leak memory for toasted inputs; I had
missed some hash and rtree support ops on this point before.
src/backend/access/hash/hashfunc.c
src/backend/access/rtree/rtproc.c
src/backend/utils/adt/geo_ops.c
src/backend/utils/adt/mac.c
src/backend/utils/adt/varchar.c
src/include/catalog/pg_amproc.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h