pgcrypto Documentation/Function Mismatch

Started by Gary Chambersabout 8 years ago1 messagesgeneral
Jump to latest
#1Gary Chambers
gwchamb@gwcmail.com

Hello,

I wanted to pass along a pgcrypto documentation/function definition
mismatch in (at least) v9.3 and v9.6.

The mismatch occurs in the hmac function definition:

Documentation:

hmac(data bytea, key text, type text) returns bytea

As defined in 9.3.17 and 9.6.6:

List of functions
Schema | Name | Result data type | Argument data types | Type
-------+------+------------------+---------------------+--------
tools | hmac | bytea | bytea, bytea, text | normal

--
G.