在 postgresql 中显示所有结果? [英] Show all results in postgresql?

查看:150
本文介绍了在 postgresql 中显示所有结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 postgres windows 客户端,在收到一个有很多结果的查询时,最初只显示其中的一些,在底部显示 -- More -- 并让你点击输入"以显示每个新的结果行.这既麻烦又愚蠢.我该怎么做才能让它从一开始就向我展示所有结果?

My postgres windows client, upon receiving a query with many results, only shows some of them initially, showing -- More -- at the bottom and making you hit "enter" to show each new result line. This is cumbersome and silly. What can I do to make it show me absolutely every result from the start?

推荐答案

假设您的意思是 psql 与我的 postgres windows 客户端",您可以使用 \pset 命令:

Assuming you mean psql with "my postgres windows client", you can turn off the use of the pager using the \pset command:

\pset pager off

如果您想永久关闭寻呼机,请将该行添加到您的 psqlrc.conf 文件.

If you want to permanently turn the pager off, add that line to your psqlrc.conf file.

这篇关于在 postgresql 中显示所有结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆