diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-12-08 23:57:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-12-08 23:57:03 +0000 |
commit | 376784cf8ac7dee831471d7fd4159145d135636b (patch) | |
tree | 62008e893458d778777a871f672c5545d5c9b241 /src/include/utils/builtins.h | |
parent | fb47385fc8d2314dd7d23d691959c882ead1c31a (diff) |
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.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 7caf379a115..97f03b75a2d 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.143 2000/11/25 20:33:54 tgl Exp $ + * $Id: builtins.h,v 1.144 2000/12/08 23:57:00 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -522,6 +522,7 @@ extern Datum macaddr_ne(PG_FUNCTION_ARGS); extern Datum macaddr_trunc(PG_FUNCTION_ARGS); extern Datum macaddr_text(PG_FUNCTION_ARGS); extern Datum text_macaddr(PG_FUNCTION_ARGS); +extern Datum hashmacaddr(PG_FUNCTION_ARGS); /* numeric.c */ extern Datum numeric_in(PG_FUNCTION_ARGS); |