Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEh38-00049i-DG for pgsql-bugs@arkaria.postgresql.org; Sun, 19 Jun 2016 18:02:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bEh38-0006a9-0h for pgsql-bugs@arkaria.postgresql.org; Sun, 19 Jun 2016 18:02:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bEgL5-0003WX-QM for pgsql-bugs@postgresql.org; Sun, 19 Jun 2016 17:16:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bEgL2-0003bx-Kq for pgsql-bugs@postgresql.org; Sun, 19 Jun 2016 17:16:51 +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 u5JHENal025997; Sun, 19 Jun 2016 13:14:23 -0400 From: Tom Lane To: =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= cc: =?UTF-8?Q?Mart=c3=adn_Marqu=c3=a9s?= , pgsql-bugs@postgresql.org Subject: Re: BUG #14201: In psql prompt2 %R can be ( In-reply-to: <2a87eee9-f931-f830-c53d-0c4db6b921aa@aegee.org> References: <20160619121113.5789.68274@wrigleys.postgresql.org> <2a87eee9-f931-f830-c53d-0c4db6b921aa@aegee.org> Comments: In-reply-to =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= message dated "Sun, 19 Jun 2016 15:09:44 +0200" Date: Sun, 19 Jun 2016 13:14:23 -0400 Message-ID: <25996.1466356463@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= writes: > On 06/19/2016 02:29 PM, Martín Marqués wrote: >> El 19/06/16 a las 09:11, dpa-postgres@aegee.org escribió: >>> doc/sgml/ref/psql-ref.sgml > Advanced Features > Prompting > %R forgets to >>> state, that in prompt 2 the substitution can be open parenthesis, as seen >>> in the beginning of the Examples section. >> That's correct, and a good catch. >> Could you provide a patch which fixes the documentation? > here is a proposed patch. This patch didn't apply cleanly for me, but I incorporated the change along with some extra wordsmithing. Thanks for noticing this oversight! regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs