Thread

Commits

  1. Doc: fix incorrectly stated argument list for pgcrypto's hmac() function.

  1. Incorrect argument type documented for hmac function

    The Post Office <noreply@postgresql.org> — 2018-08-05T04:27:52Z

    The following documentation comment has been logged on the website:
    
    Page: https://www.postgresql.org/docs/10/static/pgcrypto.html
    Description:
    
    This line in the document:
    
    hmac(data bytea, key text, type text) returns bytea
    
    Incorrectly lists the key as type text when it is also bytea.  The line
    should read:
    
    hmac(data bytea, key bytea, type text) returns bytea
    
    Thank you!
    
  2. Re: Incorrect argument type documented for hmac function

    Tom Lane <tgl@sss.pgh.pa.us> — 2018-08-05T16:58:59Z

    =?utf-8?q?PG_Doc_comments_form?= <noreply@postgresql.org> writes:
    > This line in the document:
    > hmac(data bytea, key text, type text) returns bytea
    > Incorrectly lists the key as type text when it is also bytea.  The line
    > should read:
    > hmac(data bytea, key bytea, type text) returns bytea
    
    Indeed.  Thanks for catching that!
    
    			regards, tom lane