453 reputation
315
bio website
location
age
visits member for 3 years, 10 months
seen Oct 14 at 8:01

Aug
8
accepted Command-line editing and wrapping
Aug
6
comment Command-line editing and wrapping
\set PROMPT1 '%[%033[1;33m%]%/%[%033[32m%]%R%#%[%33[0m%] ' \set PROMPT2 '%[%033[1;33m%]%/%[%033[31m%]%R%#%[%33[0m%] '
Aug
6
comment Command-line editing and wrapping
I have used this prompt for a number of years, without any difficulties editing command line input. Possibly an update to psql and/or libedit resulted in this.
Aug
6
answered Command-line editing and wrapping
Aug
6
comment Command-line editing and wrapping
@StéphaneChazelas: psql in Ubuntu is linked against libedit.
Aug
6
revised Command-line editing and wrapping
added 225 characters in body
Aug
6
revised Command-line editing and wrapping
added 76 characters in body
Aug
6
revised Command-line editing and wrapping
added 112 characters in body
Aug
6
revised Command-line editing and wrapping
added 258 characters in body
Aug
6
comment Command-line editing and wrapping
libedit.so.2 => /usr/lib/i386-linux-gnu/libedit.so.2 (0xb75f2000) libedit.so.2 => /usr/lib/i386-linux-gnu/libedit.so.2 (0xb76f9000)
Aug
6
revised Command-line editing and wrapping
added 115 characters in body
Aug
6
comment Command-line editing and wrapping
This seems variable, as this page states that psql can be compiled with readline: postgresql.org/docs/8.4/static/app-psql.html
Aug
6
revised Command-line editing and wrapping
added 101 characters in body
Aug
6
asked Command-line editing and wrapping
Jul
15
awarded  Popular Question
Jul
2
awarded  Curious
Jun
24
awarded  Popular Question
Jun
10
awarded  Caucus
Jun
6
awarded  Notable Question
Feb
7
awarded  Popular Question