It seems to be 8104:

prova=> create table a (a varchar(99999));
ERROR:  length for type 'varchar' cannot exceed 8104


Chris Gokey wrote:

> Hi everyone,
>
> What is the maximum length of VARCHAR?  If there something equivalent
> to Oracle's LONG in postgresql?  I need a datatype that can hold very
> large text?
>
> Chris
>
> --
> Christopher D. Gokey, Raytheon ITSS, NASA/GCMD
> 18 Martin Road, Shelburne Falls, MA  01370
> Phone: Voice (413) 625-8129 / FAX 208-248-9055
> [EMAIL PROTECTED] / http://gcmd.nasa.gov

--
Jose' Soares
Bologna, Italy                     [EMAIL PROTECTED]

Reply via email to