Re: Concat truncates at 257 characters

From: Patrick Lademan <mjfrog14(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Concat truncates at 257 characters
Date: 2013-11-25 23:53:18
Message-ID: CADMm_6D2L0Pdx6HbLiPuscgH8r_Pw2qFbYpoBh4Pyg5drr6VkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

What is difference between pgadmin and psql that would cause one to
truncate?
On Nov 25, 2013 6:18 PM, "John R Pierce" <pierce(at)hogranch(dot)com> wrote:

> On 11/25/2013 3:09 PM, Patrick Lademan wrote:
>
>> The following simple examples all truncate at 257 characters and add a
>> trailing " (...)".
>>
>> select rpad('', 200, 'A') || rpad('', 200, 'B');
>>
>
> hmmm?
>
> $ psql scratch
> ....
> scratch=# select rpad('', 200, 'A') || rpad('', 200, 'B');
>
> ?column?
>
>
> ------------------------------------------------------------
> ------------------------------------------------------------------------
> ------------------------------------------------------------
> ------------------------------------------------------------------------
> ------------------------------------------------------------
> ------------------------------------------------------------------------
> ------
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> AAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
> BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
> BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
> BBBBB
> (1 row)
>
>
> not here.
>
> --
> john r pierce 37N 122W
> somewhere on the middle of the left coast
>
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2013-11-26 00:03:43 Re: Concat truncates at 257 characters
Previous Message David Johnston 2013-11-25 23:31:11 Re: Concat truncates at 257 characters