[COMMITTERS] pgsql: Fix usage of char2wchar/wchar2char.

2009-03-02 Thread Teodor Sigaev
Log Message: --- Fix usage of char2wchar/wchar2char. Changes: - pg_wchar and wchar_t could have different size, so char2wchar doesn't call pg_mb2wchar_with_len to prevent out-of-bound memory bug - make char2wchar/wchar2char symmetric, now they should not be called with C-locale becau

[COMMITTERS] pgsql: Fix usage of char2wchar/wchar2char.

2009-03-02 Thread Teodor Sigaev
Log Message: --- Fix usage of char2wchar/wchar2char. Changes: - pg_wchar and wchar_t could have different size, so char2wchar doesn't call pg_mb2wchar_with_len to prevent out-of-bound memory bug - make char2wchar/wchar2char symmetric, now they should not be called with C-locale becau

[COMMITTERS] pgsql: Fix usage of char2wchar/wchar2char.

2009-03-02 Thread Teodor Sigaev
Log Message: --- Fix usage of char2wchar/wchar2char. Changes: - pg_wchar and wchar_t could have different size, so char2wchar doesn't call pg_mb2wchar_with_len to prevent out-of-bound memory bug - make char2wchar/wchar2char symmetric, now they should not be called with C-locale becau