PostgreSQL disable more output

后端 未结 6 1949
时光说笑
时光说笑 2020-12-04 08:56

I am running a script on my PostgreSQL server:

psql db -f sql.sql

from bash or in a cron script.

It keeps

6条回答
  •  一生所求
    2020-12-04 09:33

    I was looking for this too, I found the way in a similar question on ServerFault:

    psql -P pager=off 
    

    turns off the paging thing, without suppressing output.

提交回复
热议问题