我从一个文件填充
postgresql数据库.
我得到了很多:
INSERT 0 1
声明.
有没有办法不显示这些命令?他们现在滚动我的shell上的早期输出并且不会产生很多有用的信息(INSERT 0 1意味着什么?就像说“你的插件命令是否成功”?).
The
psql
manual说:
-q
--quiet
Specifies that psql should do its work quietly. By default,it prints welcome messages and varIoUs @R_299_4045@ional output. If this option is used,none of this happens. This is useful with the -c option. Within psql you can also set the
QUIET
variable to achieve the same effect.
根据@ harmic的建议,您可能还想设置client_min_messages:
SET client_min_messages = 'ERROR';
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。