I have two raspberry pi's; both with postgres-installed databases.
On one pi, when I'm in the psql
command line and do something like select * from "User";
it shows me the results in the shell/stdout.
When I'm on the other pi and type the same select * from "User";
, it shows the output in nano
, and I have to hit Q
to escape and go back to the command line interface.
How do I remove the editor setting in psql
to just show the output of the query in the command line interface?
I've found documentation to set the editor to something (http://www.postgresql.org/docs/9.1/static/app-psql.html) but I don't want to set the editor to anything, just have it print out (so I don't have to hit Q
every time)