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: 8426.1210176567@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Browse pgsql-novice by date

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