Re: Regarding varchar max length in postgres - Mailing list pgsql-general

From Durgamahesh Manne
Subject Re: Regarding varchar max length in postgres
Date
Msg-id CAJCZkoKsYP6L91Rd3=8oxRh6K_GKZAFkmd1--PR4JWzqop_HSQ@mail.gmail.com
Whole thread Raw
In response to Re: Regarding varchar max length in postgres  (Durgamahesh Manne <maheshpostgres9@gmail.com>)
Responses Re: Regarding varchar max length in postgres  (Durgamahesh Manne <maheshpostgres9@gmail.com>)
List pgsql-general


On Mon, Oct 15, 2018 at 2:35 PM Durgamahesh Manne <maheshpostgres9@gmail.com> wrote:


On Mon, Oct 15, 2018 at 2:32 PM Durgamahesh Manne <maheshpostgres9@gmail.com> wrote:


On Fri, Oct 5, 2018 at 8:55 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 10/5/18 8:18 AM, Durgamahesh Manne wrote:
> Hi
>
> please let me know the max length of varchar  & text in postgres

https://www.postgresql.org/docs/10/static/datatype-character.html
>
>
>
> Regards
>
> Durgamahesh Manne


--
Adrian Klaver
adrian.klaver@aklaver.com

 Hi 

Thank you for this information

      ((((as per the postgresql documentation 

 If character varying is used without length specifier, the type accepts strings of any size 

but varchar does not accept more than this ))))

as per the postgresql documentation   please ignore incomplete above message i mailed to respected community members 

 If character varying is used without length specifier, the type accepts strings of any size 

but varchar does not accept more than this 10485760 value

   create table test(id serial primary key, str varchar(10485761));

     ERROR: length for type varchar cannot exceed 10485760 

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Regarding varchar max length in postgres
Next
From: "Jehan-Guillaume (ioguix) de Rorthais"
Date:
Subject: Re: Is there any impact if "#wal_keep_segments = 0 " and"checkpoint_segments = 128" postgresql.conf file.