Implement md5(bytea), update regression tests and documentation. Patch
Neil Conway <neilc@samurai.com>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +12 −1 |
| src/backend/utils/adt/varlena.c | modified | +24 −5 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +3 −1 |
| src/include/utils/builtins.h | modified | +2 −1 |
| src/test/regress/expected/strings.out | modified | +42 −0 |
| src/test/regress/sql/strings.sql | modified | +14 −0 |