psql editor setting on Ubuntu
- by dezso
The situation is the following. This is an Ubuntu box:
Linux ns3mx3 2.6.32-41-server #89-Ubuntu SMP Fri Apr 27 22:33:31 UTC 2012 x86_64 GNU/Linux
Which means that when I first issue \e in psql, I'm asked to choose an editor. Then there is the .selected_editor file, which contains
# Generated by /usr/bin/select-editor…