Package: postgresql-client-9.0
Version: 9.0.2-1~maverick1
Severity: wishlist

The switch from readline to libedit in 9.0.1-2 (#603599) was very unfortunate. 
I find readline shortcuts like ctrl-left/ctrl-right indispensable for editing 
long SQL statements. The change has caused various other bugs (#605313, 
#607109).

A possible workaround is to use 'rlwrap psql -n' [1], but that loses all the 
psql-specific autocompletion (eg. of table names/columns), and also breaks 
ctrl-c/ctrl-d.

If the choice is between SSL capabilities or readline support, I think many 
people who only run and connect to postgres locally would prefer readline 
support. To allow this choice, would it be possible to build a 'psql-readline' 
(readline-enabled, SSL disabled), a 'psql-ssl' (editline, SSL enabled), and set 
one as /usr/bin/psql with update-alternatives?[2]



Regards,
Jeff

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607109#15
[2] CDBS 'flavors' support could be used for this.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to