Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off "output to file" in postgresql

The directive

\o <output_file>

sends subsequent outputs to the specified file. How can this be disabled - i.e. resume sending output to the terminal session instead of the file?

like image 632
WestCoastProjects Avatar asked Oct 16 '25 11:10

WestCoastProjects


1 Answers

give it another \o with no argument.

like image 136
Z4-tier Avatar answered Oct 19 '25 03:10

Z4-tier