Re: Fixed width rows faster?

From: "Eric Jain" <Eric(dot)Jain(at)isb-sib(dot)ch>
To: "pgsql-performance" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Fixed width rows faster?
Date: 2004-03-06 13:17:35
Message-ID: 004501c4037d$63e27f80$c300000a@caliente
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> Frankly, the only reason to use anything other than TEXT is
> compatibility with other databases and applications.

The main reason why I am still using VARCHAR rather than TEXT in many
places is to ensure that the column can be indexed. Postgres, it seems,
refuses to insert a string that is longer than some value into an
indexed column, and I'll rather have such errors flagged while inserting
a row rather than while rebuilding an index after having inserted lots
of rows.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Sullivan 2004-03-06 16:26:58 Re: Fixed width rows faster?
Previous Message Christopher Kings-Lynne 2004-03-06 10:01:18 Re: Fixed width rows faster?