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

Re: Disadvantages to using "text"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Don Mies (NIM)" <dmies(at)networksinmotion(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Disadvantages to using "text"
Date: 2008-05-07 16:09:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
"Don Mies (NIM)" <dmies(at)networksinmotion(dot)com> writes:
> Are there any reasons for not using the "text" type whenever a variable
> length string field is needed?  Are there penalties in disk usage,
> memory usage or performance?

No, no, and no.  The only good reason I've heard of to avoid text is
that there are some "database independent" client-side tools that
don't really understand it, and if you're using one of those it's
a problem.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Bruce HyattDate: 2008-05-07 16:44:10
Subject: Re: Disadvantages to using "text"
Previous:From: Tom LaneDate: 2008-05-07 16:06:40
Subject: Re: [NOVICE] encoding problems

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