Re: edit grid: linebreak added to data

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: edit grid: linebreak added to data
Дата
Msg-id 455891F7.3080200@postgresql.org
обсуждение исходный текст
Ответ на Re: edit grid: linebreak added to data  (Erwin Brandstetter <brandstetter@falter.at>)
Список 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 по дате отправления:

Предыдущее
От: Erwin Brandstetter
Дата:
Сообщение: Re: edit grid: linebreak added to data
Следующее
От: "Mike Knell"
Дата:
Сообщение: ...