=?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?= <dpa-postgres(at)aegee(dot)org> 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-cbd0e6bfa710@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