A modest proposal for a FAQ addition - Mailing list pgsql-hackers

From Tom Lane
Subject A modest proposal for a FAQ addition
Date
Msg-id 25446.1042347587@sss.pgh.pa.us
Whole thread Raw
Responses Re: A modest proposal for a FAQ addition
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: help with PL/PgSQL bug
Next
From: Bruce Momjian
Date:
Subject: Re: A modest proposal for a FAQ addition