在pgAdmin中选择整个列的内容 [英] Select whole column content in pgAdmin

查看:131
本文介绍了在pgAdmin中选择整个列的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PosgreSQL作为数据库,并使用PgAdmin作为管理它的工具.当我写简单选择 (col是文本的类型,其值相当长,大约4k个字符)

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

我明白了这一点(方括号前大约有250个字符):

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

abababababa(...)

但是我插入了更长的值. PgAdmin修剪显示值,并以(...)字符串结尾.如何在PgAdmin中获取全部内容?

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

推荐答案

尝试在 PgAdmin配置中设置此值:

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

在此页面上查看设置

对于完整的列内容,您必须使用-1,如果保留为空,则PgAdmin3会自动将其替换为0,并且除"..."之外均不显示任何内容.

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

这篇关于在pgAdmin中选择整个列的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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