pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Jain <Eric.Jain@isb-sib.ch>
To: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Fixed width rows faster?
Date: Sat, 6 Mar 2004 14:17:35 +0100
Message-ID: <004501c4037d$63e27f80$c300000a@caliente> (raw)
References: <E9C9F3C2-6EA9-11D8-A89E-000D9366F0C4@torgo.978.org>
	<404889A6.7@potentialtech.com>
	<200403051528.55578.josh@agliodbs.com>

> 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.




view thread (23+ messages)  latest in thread

Message-ID: <004501c4037d$63e27f80$c300000a@caliente>
Permalink:  ../004501c4037d$63e27f80$c300000a@caliente/
Also on:    postgresql.org/message-id/004501c4037d$63e27f80$c300000a@caliente

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Eric.Jain@isb-sib.ch
  Subject: Re: Fixed width rows faster?
  In-Reply-To: <004501c4037d$63e27f80$c300000a@caliente>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox