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

determining maxsize for character varying

From: okparanoid(at)free(dot)fr
To: pgsql-performance(at)postgresql(dot)org
Subject: determining maxsize for character varying
Date: 2007-06-16 09:53:10
Message-ID: 1181987590.4673b306d4baf@imp.free.fr (view raw or flat)
Thread:
Lists: pgsql-performance
Hello i would like to know if not determining a max size value for a character
varying's fields decrease the perfomance (perhaps size of stockage ? or
something else ?)

If not it is a good way to not specify a max size value ?
If it has an importance is it possible to have a general environnment variable
saying to postgres to automatically truncate fields which postgres have to
insert or update with a length superior at the max length.

Sorry for my bad english...

Lot of thanks

Responses

pgsql-performance by date

Next:From: Andreas KretschmerDate: 2007-06-16 10:55:25
Subject: Re: determining maxsize for character varying
Previous:From: Merlin MoncureDate: 2007-06-15 19:39:22
Subject: Re: Variable (degrading) perfomance

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