A modest proposal for a FAQ addition

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: A modest proposal for a FAQ addition
Date: 2003-01-12 04:59:47
Message-ID: 25446.1042347587@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Q: Why do I get strange results with a CHAR(n) field?

A. Don't use CHAR(n). VARCHAR(n) has the behavior you are probably
expecting; on top of which it's more compact and usually faster.

I suppose the above needs some fleshing out, but man am I getting tired
of explaining about significant vs non-significant trailing blanks.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-01-12 05:17:13 Re: A modest proposal for a FAQ addition
Previous Message Tom Lane 2003-01-12 04:22:27 Re: help with PL/PgSQL bug