Vadivel Subramaniam <[EMAIL PROTECTED]> writes:
> 2. create table utilntmlscripts (name character varying, data character
> varying(10485770));
>       ERROR:  length for type 'varchar' cannot exceed 10485760
>       It's not allowing more than 10 MB of size during table creation.

Use type "text", or equivalently varchar with no length specification.

The 1-MB limit on what you can write as a length spec is somewhat
arbitrary, but certainly an enforced length spec larger than that
would be a completely arbitrary number as well ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to