Pgadmin data output string disappear when reach 3278 length
Pgadmin data output string disappear when reach 3278 length
От:
Alex Bozhenko <alexbozhenko@gmail.com>
Дата:
- Ver 1.16.0(Sep 7 2012; rev REL-1_16_0)
- Windows XP Pro, SP3
- Steps required to reproduce the problem:
Execute
select array_agg('M'::TEXT)
from (select generate_series(1,1637)) as atable;
So we get string {M,M ... ,M} 3276 length. It's correctly displaying at data output pane.
Execute
select array_agg('M'::TEXT)
from (select generate_series(1,1638)) as atable;
Data output is empty. But if we will copy value from data output and paste it anywhere else, we will get string {M,M ... ,M} 3278 length.
Is it a bug or a known restriction?
P.S: sorry for poor English.
Re: Pgadmin data output string disappear when reach 3278 length
От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Wed, 2012-10-03 at 17:32 +0400, Alex Bozhenko wrote:
> - Ver 1.16.0(Sep 7 2012; rev REL-1_16_0)
> - Windows XP Pro, SP3
>
> - Steps required to reproduce the problem:
>
> Execute
> select array_agg('M'::TEXT)
> from (select generate_series(1,1637)) as atable;
>
> So we get string {M,M ... ,M} *3276 *length. It's correctly displaying at
> data output pane.
>
> Execute
> select array_agg('M'::TEXT)
> from (select generate_series(1,1638)) as atable;
> Data output is empty. But if we will copy value from data output and paste
> it anywhere else, we will get string {M,M ... ,M} *3278 *length.
>
Doesn't happen to me.
> Is it a bug or a known restriction?
>
Well, it's known that long strings are poorly displayed. Poorly as in
not at all. I would call that a bug in wxWidgets. We don't have a
workaround though.
--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com