0

Picture of My Terminal With the SQL Editor I am Stuck In

Writing a SQL statement in the psql console, I entered an external terminal to edit one of my sql statements using the \e command. However, I'm not sure how to exit the terminal.

I have tried using the escape key and \q.

Svetlin Zarev
  • 14,713
  • 4
  • 53
  • 82

1 Answers1

0

Type :w & press Enter. This will save all the edited content.

Now,

Type :q and press Enter. This will throw you out of the editor to the terminal.

Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77