Re: pgsql and exception [message #178127 is a reply to message #178126] |
Mon, 14 May 2012 15:19 |
Shake
Messages: 40 Registered: May 2012
Karma:
|
Member |
|
|
El 14/05/2012 17:02, Une Bévue escribió:
>
> Yes right, specially for a link, in fact I've altered the tables columns
> for varchar(256), and I'll do something in case the user entered
> something longer...
You have to take care of not getting a big size database? because, if
you have space and could be more genereous... I think is better idea put
a bigger number.
Links, You mean URL? have no limit. It don't need to be longs, but it
can. There is any requirement of use a "small" varchar(256) for this field?
IF there is no limitation or requirement, perhaps is better to put
enough space to avoid problems. varchar(1024) could no make a big
diference if you don't have a really enormous amount of data.
Greetings
|
|
|