Select whole column content in pgAdmin

∥☆過路亽.° 提交于 2019-12-09 14:12:29

问题


I use PosgreSQL as database and PgAdmin as tool to manage it. When I write simple select (col is type of text and value of it is quite long, about 4k chars)

SELECT col FROM tab

I get this (there is about 250 chars before brackets):

abababababa(...)

but I inserted longer value. PgAdmin trim showed value and ends it with(...) string. How can I get whole content inside PgAdmin?


回答1:


Try set this value in PgAdmin config:

File > Options > Query Tool > Max. characters per column

Look on settings on this page

EDIT: For full column content you have to use -1, if left empty PgAdmin3 automatically replaces it with a 0 and nothing is shown but "...".




回答2:


In PgAdmin.. If you want 'unlimited': File -> Options -> Query Tool -> Max. char. per column -> -1



来源:https://stackoverflow.com/questions/21832460/select-whole-column-content-in-pgadmin

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