Re: Bug with exceptionally long values. - Mailing list pgadmin-support

From Jeff Adams
Subject Re: Bug with exceptionally long values.
Date
Msg-id AANLkTik8NRM4sZ7cob26V8-v0wBV6dD45TTZgJGfvaMV@mail.gmail.com
Whole thread Raw
In response to Re: Bug with exceptionally long values.  (Michael Shapiro <mshapiro51@gmail.com>)
Responses Re: Bug with exceptionally long values.  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-support
Correct, it's the "looking empty" that I'm suggesting is a bug.

On Tue, Jul 27, 2010 at 1:27 PM, Michael Shapiro <mshapiro51@gmail.com> wrote:
It looks blank, but its contents are actually there. ctrl-a, ctrl-c in the column selects what you''d expect to see.
The behavior happens a 65536 in the lpad

select lpad('test', 65535, 't')    -- looks OK
select lpad('test', 65536, 't')    -- looks empty (but really isn't)



On Tue, Jul 27, 2010 at 12:08 PM, Peter Geoghegan <peter.geoghegan86@gmail.com> wrote:
Here's Jeff's test case. I am not immediately able to check it:

On 27 July 2010 17:54, Jeff Adams <jadams@azavea.com> wrote:
> Piece o' cake:
>
> select lpad('test', 75, 't') as test75, lpad('test', 750, 't') as test750,
> lpad('test', 7500, 't') as test7500, lpad('test', 75000, 't') as test75000,
> lpad('test', 10000, 't') as test10000
>
> For me, I see "tttttttttttttttttttttt" in the (non-resized) test75, test750,
> test7500, and test10000 columns, but the test75000 column has a blank cell.
>
> Jeff
>
>


--
Regards,
Peter Geoghegan

--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support




--
Jeff Adams
Azavea (formerly Avencia)  |  T: 215.701.7717  |  F: 215.925.2663
www.azavea.com

pgadmin-support by date:

Previous
From: Michael Shapiro
Date:
Subject: Re: Bug with exceptionally long values.
Next
From: Guillaume Lelarge
Date:
Subject: Re: Bug with exceptionally long values.