diff options
author | Neil Conway <neilc@samurai.com> | 2005-05-20 01:29:56 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-05-20 01:29:56 +0000 |
commit | f3567eeaf2423c933166edff320ab1a7093f1ac4 (patch) | |
tree | 6a77859582d83cf61881f26fdf3a4f3d5e4aa293 /src/include/utils/builtins.h | |
parent | ff0c143a3b6a2f0d091133fe64d23544f1157096 (diff) | |
download | postgresql-f3567eeaf2423c933166edff320ab1a7093f1ac4.tar.gz postgresql-f3567eeaf2423c933166edff320ab1a7093f1ac4.zip |
Implement md5(bytea), update regression tests and documentation. Patch
from Abhijit Menon-Sen, minor editorialization from Neil Conway. Also,
improve md5(text) to allocate a constant-sized buffer on the stack
rather than via palloc.
Catalog version bumped.
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 96e33786eec..865c673f512 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.255 2005/04/12 04:26:32 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.256 2005/05/20 01:29:55 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -572,6 +572,7 @@ extern Datum array_to_text(PG_FUNCTION_ARGS); extern Datum to_hex32(PG_FUNCTION_ARGS); extern Datum to_hex64(PG_FUNCTION_ARGS); extern Datum md5_text(PG_FUNCTION_ARGS); +extern Datum md5_bytea(PG_FUNCTION_ARGS); extern Datum unknownin(PG_FUNCTION_ARGS); extern Datum unknownout(PG_FUNCTION_ARGS); |