public inbox for [email protected]  
help / color / mirror / Atom feed
Incorrect argument type documented for hmac function
2+ messages / 2 participants
[nested] [flat]

* Incorrect argument type documented for hmac function
@ 2018-08-05 04:27 PG Doc comments form <[email protected]>
  2018-08-05 16:58 ` Re: Incorrect argument type documented for hmac function Tom Lane <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2018-08-05 04:27 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

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!


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Incorrect argument type documented for hmac function
  2018-08-05 04:27 Incorrect argument type documented for hmac function PG Doc comments form <[email protected]>
@ 2018-08-05 16:58 ` Tom Lane <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-08-05 16:58 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

=?utf-8?q?PG_Doc_comments_form?= <[email protected]> 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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-08-05 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-05 04:27 Incorrect argument type documented for hmac function PG Doc comments form <[email protected]>
2018-08-05 16:58 ` Tom Lane <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox