TEXT, VARCHAR(50) or CHAR(50)? - Mailing list pgsql-sql

From Henrik Steffen
Subject TEXT, VARCHAR(50) or CHAR(50)?
Date
Msg-id 373A9614.A415D5CE@city-map.de
Whole thread Raw
List pgsql-sql
Hello all,

in my database I have a field that will contain never more than 50
characters.

What is the type of choice?

TEXT, CHAR(50) or VARCHAR(50)

I neither want to waste diskspace, nor to slow down data processing.

Thanks,

Henrik
http://www.Stade.net/



pgsql-sql by date:

Previous
From: Ole Gjerde
Date:
Subject: Re: [SQL] JOIN index/sequential select problem
Next
From: Henrik Steffen
Date:
Subject: VARCHAR(50), CHAR(50) or TEXT ?