]> granicus.if.org Git - postgresql/commit
Inserting 5 characters into char(10) does not produce 5 padding spaces
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 24 May 2005 23:02:54 +0000 (23:02 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 24 May 2005 23:02:54 +0000 (23:02 +0000)
commit2a99455ca7f56cef0f0d77dee4c72ff430363668
tree44da89320b45153fd3617ddf1a64536190c672ac
parenta94ace0796b8719c6685351b02fe93459c206c38
Inserting 5 characters into char(10) does not produce 5 padding spaces
if they are two-byte multibyte characters. Same thing can be happen
if octet_length(multibyte_chars) == n where n is char(n).
Long standing bug since 7.3 days. Per report and fix from Yoshiyuki Asaba.
src/backend/parser/parse_expr.c