1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-10 17:42:29 +03:00

Fix some compiler warnings (Tomoaki Nishiyama), add WIN1250 support (Pavel Behal)

This commit is contained in:
Tatsuo Ishii
1999-07-11 22:47:21 +00:00
parent 2859bde109
commit 8f02f2252d
4 changed files with 81 additions and 15 deletions

View File

@@ -1,7 +1,10 @@
/*
* conversion functions between pg_wchar and multi-byte streams.
* Tatsuo Ishii
* $Id: wchar.c,v 1.8 1999/05/25 16:12:45 momjian Exp $
* $Id: wchar.c,v 1.9 1999/07/11 22:47:20 ishii Exp $
*
* WIN1250 client encoding updated by Pavel Behal
*
*/
#include "mb/pg_wchar.h"
@@ -454,7 +457,8 @@ pg_wchar_tbl pg_wchar_table[] = {
{pg_latin12wchar_with_len, pg_latin1_mblen}, /* 30 */
{pg_latin12wchar_with_len, pg_latin1_mblen}, /* 31 */
{0, pg_sjis_mblen}, /* 32 */
{0, pg_big5_mblen} /* 33 */
{0, pg_big5_mblen}, /* 33 */
{pg_latin12wchar_with_len, pg_latin1_mblen} /* 34 */
};
/* returns the byte length of a word for mule internal code */