git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 597ca67) | patch
New improved version of bpcharin() may have got the truncation case
Fri, 1 Jun 2001 17:49:17 +0000 (17:49 +0000)
Fri, 1 Jun 2001 17:49:17 +0000 (17:49 +0000)
commit 7c0c9b3ccec4718c1c7cef7b5282fd56b727d965
New improved version of bpcharin() may have got the truncation case
right, but it failed to get the padding case right.

This was obscured by subsequent application of bpchar() in all but one
regression test case, and that one didn't fail in an obvious way ---
trailing blanks are hard to see. Add another test case to make it
more obvious if it breaks again.
src/backend/utils/adt/varchar.c diff | blob | blame | history
src/test/regress/expected/strings.out diff | blob | blame | history
src/test/regress/sql/strings.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /