Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-support by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group