Show all results in postgresql?

a 夏天 提交于 2020-07-31 04:44:25

问题


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?


回答1:


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

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



来源:https://stackoverflow.com/questions/30492087/show-all-results-in-postgresql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!