Re: Bug with exceptionally long values.

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

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
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Jeff Adams 2010-07-27 17:31:34 Re: Bug with exceptionally long values.
Previous Message Peter Geoghegan 2010-07-27 17:08:11 Re: Bug with exceptionally long values.