Re: Bug with exceptionally long values.

From: Jeff Adams <jadams(at)azavea(dot)com>
To: Michael Shapiro <mshapiro51(at)gmail(dot)com>
Cc: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Bug with exceptionally long values.
Date: 2010-07-27 17:31:34
Message-ID: AANLkTik8NRM4sZ7cob26V8-v0wBV6dD45TTZgJGfvaMV@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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(dot)geoghegan86(at)gmail(dot)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(at)azavea(dot)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(at)postgresql(dot)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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2010-07-27 18:31:15 Re: Bug with exceptionally long values.
Previous Message Michael Shapiro 2010-07-27 17:27:40 Re: Bug with exceptionally long values.