Re: edit grid: linebreak added to data

From: Dave Page <dpage(at)postgresql(dot)org>
To: Erwin Brandstetter <brandstetter(at)falter(dot)at>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: edit grid: linebreak added to data
Date: 2006-11-13 15:40:39
Message-ID: 455891F7.3080200@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Erwin Brandstetter wrote:
>
>
> dpage(at)postgresql(dot)org wrote:
>> Erwin Brandstetter wrote:
>>> dpage(at)postgresql(dot)org wrote:
>>>> And in case you were wondering, we use the wxTE_RICH flag to allow
>>>> the control to hold more than 64KB of text (though I do wonder if
>>>> that's actually still required).
>>>
>>> Now that you have disabled editing bytea, it might not be needed
>>> anymore?
>>
>> Why? Text/varchar can hold up to a gigabyte iirc.
>
>
> Right. But who would possibly dream of editing gigabytes in pgAdmin? And
> don't you have an option "Max. characters per column" in place, which
> could prevent excess data?

The Max chars option is for the query tool. And no, I quite agree about
editting a gigabyte of text, however it's not beyond the realms of
possibility for someone to want to paste say, 100Kb of logfile into the
grid. I've certainly done so myself in the past.

Regards, Dave

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Mike Knell 2006-11-13 17:46:44
Previous Message Erwin Brandstetter 2006-11-13 15:34:10 Re: edit grid: linebreak added to data