Edit PostgreSQL query in your editor
Inside psql
there is a convenient command \e
which opens an editor (defined in EDITOR
variable) and it allows you to edit the query. Once saved, you will get back to psql
and the query will be executed.
Written by Zaiste
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Postgresql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#