PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "fmgr.h"
#include "mb/pg_wchar.h"
#include "../../Unicode/utf8_to_win1250.map"
#include "../../Unicode/utf8_to_win1251.map"
#include "../../Unicode/utf8_to_win1252.map"
#include "../../Unicode/utf8_to_win1253.map"
#include "../../Unicode/utf8_to_win1254.map"
#include "../../Unicode/utf8_to_win1255.map"
#include "../../Unicode/utf8_to_win1256.map"
#include "../../Unicode/utf8_to_win1257.map"
#include "../../Unicode/utf8_to_win1258.map"
#include "../../Unicode/utf8_to_win866.map"
#include "../../Unicode/utf8_to_win874.map"
#include "../../Unicode/win1250_to_utf8.map"
#include "../../Unicode/win1251_to_utf8.map"
#include "../../Unicode/win1252_to_utf8.map"
#include "../../Unicode/win1253_to_utf8.map"
#include "../../Unicode/win1254_to_utf8.map"
#include "../../Unicode/win1255_to_utf8.map"
#include "../../Unicode/win1256_to_utf8.map"
#include "../../Unicode/win1257_to_utf8.map"
#include "../../Unicode/win866_to_utf8.map"
#include "../../Unicode/win874_to_utf8.map"
#include "../../Unicode/win1258_to_utf8.map"
Go to the source code of this file.
Data Structures | |
struct | pg_conv_map |
Functions | |
PG_FUNCTION_INFO_V1 (win_to_utf8) | |
PG_FUNCTION_INFO_V1 (utf8_to_win) | |
Datum | win_to_utf8 (PG_FUNCTION_ARGS) |
Datum | utf8_to_win (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
static const pg_conv_map | maps [] |
PG_FUNCTION_INFO_V1 | ( | utf8_to_win | ) |
PG_FUNCTION_INFO_V1 | ( | win_to_utf8 | ) |
Datum utf8_to_win | ( | PG_FUNCTION_ARGS | ) |
Definition at line 117 of file utf8_and_win.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, encoding, ereport, errcode(), errmsg(), ERROR, i, len, lengthof, maps, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, PG_UTF8, and UtfToLocal().
Datum win_to_utf8 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 81 of file utf8_and_win.c.
References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, encoding, ereport, errcode(), errmsg(), ERROR, i, len, lengthof, LocalToUtf(), maps, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, and PG_UTF8.
|
static |
Definition at line 66 of file utf8_and_win.c.
Referenced by utf8_to_win(), and win_to_utf8().
PG_MODULE_MAGIC |
Definition at line 40 of file utf8_and_win.c.