pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: joe@snikeris.com
Cc: pgsql-docs@postgresql.org
Subject: Re: Documentation for pgp_pub_decrypt
Date: Mon, 26 Sep 2016 15:44:37 -0400
Message-ID: <1669.1474919077@sss.pgh.pa.us> (raw)
In-Reply-To: <20160925095545.1514.14612@wrigleys.postgresql.org>
References: <20160925095545.1514.14612@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 &#39;text&#39;. 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


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (4+ messages)  latest in thread

Message-ID: <1669.1474919077@sss.pgh.pa.us>
Permalink:  ../1669.1474919077@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1669.1474919077@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, joe@snikeris.com
  Subject: Re: Documentation for pgp_pub_decrypt
  In-Reply-To: <1669.1474919077@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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