Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5ae9d85f
Commit
5ae9d85f
authored
Mar 24, 1999
by
Tatsuo Ishii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add KOI8/WIN/ALT support
parent
eb42c1c7
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
296 additions
and
37 deletions
+296
-37
src/backend/utils/mb/conv.c
src/backend/utils/mb/conv.c
+261
-2
src/backend/utils/mb/wchar.c
src/backend/utils/mb/wchar.c
+35
-35
No files found.
src/backend/utils/mb/conv.c
View file @
5ae9d85f
This diff is collapsed.
Click to expand it.
src/backend/utils/mb/wchar.c
View file @
5ae9d85f
/*
/*
* conversion functions between pg_wchar and multi-byte streams.
* conversion functions between pg_wchar and multi-byte streams.
* Tatsuo Ishii
* Tatsuo Ishii
* $Id: wchar.c,v 1.
5 1999/02/02 18:51:23 momjian
Exp $
* $Id: wchar.c,v 1.
6 1999/03/24 07:02:17 ishii
Exp $
*/
*/
#include "mb/pg_wchar.h"
#include "mb/pg_wchar.h"
...
@@ -416,40 +416,40 @@ pg_big5_mblen(const unsigned char *s)
...
@@ -416,40 +416,40 @@ pg_big5_mblen(const unsigned char *s)
}
}
pg_wchar_tbl
pg_wchar_table
[]
=
{
pg_wchar_tbl
pg_wchar_table
[]
=
{
{
pg_ascii2wchar_with_len
,
pg_ascii_mblen
},
{
pg_ascii2wchar_with_len
,
pg_ascii_mblen
},
/* 0 */
{
pg_eucjp2wchar_with_len
,
pg_eucjp_mblen
},
{
pg_eucjp2wchar_with_len
,
pg_eucjp_mblen
},
/* 1 */
{
pg_euccn2wchar_with_len
,
pg_euccn_mblen
},
{
pg_euccn2wchar_with_len
,
pg_euccn_mblen
},
/* 2 */
{
pg_euckr2wchar_with_len
,
pg_euckr_mblen
},
{
pg_euckr2wchar_with_len
,
pg_euckr_mblen
},
/* 3 */
{
pg_euctw2wchar_with_len
,
pg_euctw_mblen
},
{
pg_euctw2wchar_with_len
,
pg_euctw_mblen
},
/* 4 */
{
pg_utf2wchar_with_len
,
pg_utf_mblen
},
{
pg_utf2wchar_with_len
,
pg_utf_mblen
},
/* 5 */
{
pg_mule2wchar_with_len
,
pg_mule_mblen
},
{
pg_mule2wchar_with_len
,
pg_mule_mblen
},
/* 6 */
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 7 */
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 8 */
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 9 */
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 10 */
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 11 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 12 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 13 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 14 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 15 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 16 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 17 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 18 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 19 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 20 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 21 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 22 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 23 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 24 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 25 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 26 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 27 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 28 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 29 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 30 */
{
0
,
0
},
{
pg_latin12wchar_with_len
,
pg_latin1_mblen
},
/* 31 */
{
0
,
pg_sjis_mblen
},
{
0
,
pg_sjis_mblen
},
/* 32 */
{
0
,
pg_big5_mblen
}
{
0
,
pg_big5_mblen
}
/* 33 */
};
};
/* returns the byte length of a word for mule internal code */
/* returns the byte length of a word for mule internal code */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment