Re: Displaying a wide column with psql

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: phil(at)pricom(dot)com(dot)au, pgsql-general(at)postgresql(dot)org
Subject: Re: Displaying a wide column with psql
Date: 2014-09-02 03:23:07
Message-ID: 5405381B.1000003@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/01/2014 08:05 PM, Philip Rhoades wrote:
> People,
>
> I have a table with a field that has up to 1,000 chars in it, when I
> look at it with psql it only displays about 200 chars with a "&hellip;"
> on the end of the string. Even when I look at just one record and use
> the \x option I get the same result - I googled for ages but short of
> using pg_dump, I couldn't see an interactive way of seeing the whole
> field. Is it possible?

Have you tried \pset format wrapped?

http://www.postgresql.org/docs/9.3/interactive/app-psql.html

\pset
>
> Thanks,
>
> Phil.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G Johnston 2014-09-02 03:59:28 Re: Displaying a wide column with psql
Previous Message Philip Rhoades 2014-09-02 03:05:08 Displaying a wide column with psql