PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "fmgr.h"
#include "mb/pg_wchar.h"
#include "../../Unicode/iso8859_10_to_utf8.map"
#include "../../Unicode/iso8859_13_to_utf8.map"
#include "../../Unicode/iso8859_14_to_utf8.map"
#include "../../Unicode/iso8859_15_to_utf8.map"
#include "../../Unicode/iso8859_2_to_utf8.map"
#include "../../Unicode/iso8859_3_to_utf8.map"
#include "../../Unicode/iso8859_4_to_utf8.map"
#include "../../Unicode/iso8859_5_to_utf8.map"
#include "../../Unicode/iso8859_6_to_utf8.map"
#include "../../Unicode/iso8859_7_to_utf8.map"
#include "../../Unicode/iso8859_8_to_utf8.map"
#include "../../Unicode/iso8859_9_to_utf8.map"
#include "../../Unicode/utf8_to_iso8859_10.map"
#include "../../Unicode/utf8_to_iso8859_13.map"
#include "../../Unicode/utf8_to_iso8859_14.map"
#include "../../Unicode/utf8_to_iso8859_15.map"
#include "../../Unicode/utf8_to_iso8859_16.map"
#include "../../Unicode/utf8_to_iso8859_2.map"
#include "../../Unicode/utf8_to_iso8859_3.map"
#include "../../Unicode/utf8_to_iso8859_4.map"
#include "../../Unicode/utf8_to_iso8859_5.map"
#include "../../Unicode/utf8_to_iso8859_6.map"
#include "../../Unicode/utf8_to_iso8859_7.map"
#include "../../Unicode/utf8_to_iso8859_8.map"
#include "../../Unicode/utf8_to_iso8859_9.map"
#include "../../Unicode/iso8859_16_to_utf8.map"
Go to the source code of this file.
Data Structures | |
struct | pg_conv_map |
Functions | |
PG_FUNCTION_INFO_V1 (iso8859_to_utf8) | |
PG_FUNCTION_INFO_V1 (utf8_to_iso8859) | |
Datum | iso8859_to_utf8 (PG_FUNCTION_ARGS) |
Datum | utf8_to_iso8859 (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
static const pg_conv_map | maps [] |
Datum iso8859_to_utf8 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 100 of file utf8_and_iso8859.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.
PG_FUNCTION_INFO_V1 | ( | iso8859_to_utf8 | ) |
PG_FUNCTION_INFO_V1 | ( | utf8_to_iso8859 | ) |
Datum utf8_to_iso8859 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 136 of file utf8_and_iso8859.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().
|
static |
Definition at line 70 of file utf8_and_iso8859.c.
Referenced by gen_db_file_maps(), iso8859_to_utf8(), transfer_single_new_db(), and utf8_to_iso8859().
PG_MODULE_MAGIC |
Definition at line 44 of file utf8_and_iso8859.c.