Re: [v9.2] make_greater_string() does not return a string in some cases

From: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [v9.2] make_greater_string() does not return a string in some cases
Date: 2011-09-29 10:24:26
Message-ID: 20110929.192426.194906490.horiguchi.kyotaro@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

This is new version of make_greater_string patch.

1. wchar.c:1532 pg_wchar_table: Restore the pg_wchar_table.

2. wchar.c:1371 pg_utf8_increment: Remove dangerous memcpy, but
one memcpy is left because it's safe. Remove code check after
increment.

3. wchar.c:1429 pg_eucjp_increment: Remove dangerous
memcpy. Remove code check after increment. Minor bug fix.

4. wchar.c:1654 pg_database_encoding_character_incrementer:
Select increment function by switch-select.

horiguchi.kyotaro> This is rebased patch of `Allow encoding specific character
horiguchi.kyotaro> incrementer'(https://commitfest.postgresql.org/action/patch_view?id=602).

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
charinc_20110929_v2.patch text/x-patch 9.1 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Holec 2011-09-29 10:28:52 Re: BUG #6233: pg_dump hangs with Access Violation C0000005
Previous Message depstein 2011-09-29 10:06:06 Re: Problems with ENUM type manipulation in 9.1

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2011-09-29 11:31:11 Re: bug of recovery?
Previous Message Alexander Soudakov 2011-09-29 09:02:13 Re: Feature proposal: www_fdw