Re: Documentation for pgp_pub_decrypt - Mailing list pgsql-docs

From Tom Lane
Subject Re: Documentation for pgp_pub_decrypt
Date
Msg-id 1669.1474919077@sss.pgh.pa.us
Whole thread Raw
In response to Documentation for pgp_pub_decrypt  (joe@snikeris.com)
Responses Re: Documentation for pgp_pub_decrypt
List pgsql-docs
joe@snikeris.com writes:
> The following documentation comment has been logged on the website:
> Page: https://www.postgresql.org/docs/9.5/static/pgcrypto.html
> Description:

> I believe the first argument should be of type 'text'. Especially
> considering the paragraph that follows discusses how passing in bytea is
> disallowed.

No, that's how the function is declared.  Maybe the following para isn't
clear enough.  What it's talking about is that the encrypted message has
to contain a marker saying it was originally text.

            regards, tom lane


pgsql-docs by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Documentation for pgp_pub_decrypt
Next
From: Joe Snikeris
Date:
Subject: Re: Documentation for pgp_pub_decrypt