"Toru SHIMOGAKI" <shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp> writes:
> When a character string or a multibyte character is inserted to "char"
> column, no error occurs. Is this a bug?
That's the historical behavior of the datatype, and given that it's
been like that since Berkeley days, changing it seems ill-advised.
If you want a column that behaves sanely for multibyte data, use
char(1).
regards, tom lane
In response to
pgsql-bugs by date
| Next: | From: Tom Lane | Date: 2007-06-26 14:19:01 |
| Subject: Re: REVOKE CREATE does not work on default tablespace |
| Previous: | From: Zdenek Kotala | Date: 2007-06-26 12:29:40 |
| Subject: Re: REVOKE CREATE does not work on default tablespace |