Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bobpS-0007wr-VH for pgsql-docs@arkaria.postgresql.org; Mon, 26 Sep 2016 19:44:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bobpS-0006cL-7B for pgsql-docs@arkaria.postgresql.org; Mon, 26 Sep 2016 19:44:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bobpR-0006Zn-7d for pgsql-docs@postgresql.org; Mon, 26 Sep 2016 19:44:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bobpO-0007gN-IE for pgsql-docs@postgresql.org; Mon, 26 Sep 2016 19:44:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8QJibmo001670; Mon, 26 Sep 2016 15:44:37 -0400 From: Tom Lane To: joe@snikeris.com cc: pgsql-docs@postgresql.org Subject: Re: Documentation for pgp_pub_decrypt In-reply-to: <20160925095545.1514.14612@wrigleys.postgresql.org> References: <20160925095545.1514.14612@wrigleys.postgresql.org> Comments: In-reply-to joe@snikeris.com message dated "Sun, 25 Sep 2016 09:55:45 -0000" Date: Mon, 26 Sep 2016 15:44:37 -0400 Message-ID: <1669.1474919077@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 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 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs