Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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: charinc_20110929_v2.patch
Description: text/x-patch (9.1 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Fujii MasaoDate: 2011-09-29 11:31:11
Subject: Re: bug of recovery?
Previous:From: Alexander SoudakovDate: 2011-09-29 09:02:13
Subject: Re: Feature proposal: www_fdw

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group