Re: edit grid: linebreak added to data - Mailing list pgadmin-support

From Dave Page
Subject Re: edit grid: linebreak added to data
Date
Msg-id 455891F7.3080200@postgresql.org
Whole thread Raw
In response to Re: edit grid: linebreak added to data  (Erwin Brandstetter <brandstetter@falter.at>)
List pgadmin-support
Erwin Brandstetter wrote:
> 
> 
> dpage@postgresql.org wrote:
>> Erwin Brandstetter wrote:
>>> dpage@postgresql.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


pgadmin-support by date:

Previous
From: Erwin Brandstetter
Date:
Subject: Re: edit grid: linebreak added to data
Next
From: "Mike Knell"
Date:
Subject: ...