Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gihPH-0006ZP-0I for pgsql-bugs@arkaria.postgresql.org; Sun, 13 Jan 2019 15:10:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gihPF-0008J2-Iq for pgsql-bugs@arkaria.postgresql.org; Sun, 13 Jan 2019 15:10:33 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gihPF-0008Iv-CX for pgsql-bugs@lists.postgresql.org; Sun, 13 Jan 2019 15:10:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gihPB-0003TD-DW for pgsql-bugs@postgresql.org; Sun, 13 Jan 2019 15:10:32 +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 x0DF8IGn004751; Sun, 13 Jan 2019 10:08:18 -0500 From: Tom Lane To: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= cc: pgsql-bugs@postgresql.org Subject: Re: psql and readline comments In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= message dated "Sun, 13 Jan 2019 10:47:50 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4749.1547392098.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 13 Jan 2019 10:08:18 -0500 Message-ID: <4750.1547392098@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?UTF-8?Q?=3DD0=3D94=3DD0=3DB8=3DD0=3DBB=3DD1=3D8F=3DD0=3DBD_?=3D =3D?UT= F-8?Q?=3DD0=3D9F=3DD0=3DB0=3DD0=3DBB=3DD0=3DB0=3DD1=3D83=3DD0=3DB7=3DD0=3D= BE=3DD0=3DB2?=3D writes: > please consider integrating making the usual readilne binding M-# do in = psql what users expect from it: insert comment > at the beginning of the line. See for patch: > https://www.postgresql.org/message-id/01e0355e-381e-9732-7d4e-cbd0e6bfa7= 10@aegee.org I remain of the opinion that (1) nobody has tested the proposed patch across a range of readline and libedit versions, and (2) this would probably be better addressed by a documentation addition anyway. It's not psql's job to override user-settable readline options. regards, tom lane