diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2002-07-18 02:02:30 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2002-07-18 02:02:30 +0000 |
commit | eb335a034b571516cfbb2309a46177b435c9f913 (patch) | |
tree | d53443be42b53e109cf3ca8a4fd3d3a0bc091a7e /src/backend/parser/parse_expr.c | |
parent | df432df9face8d69c9fd5ec4e77d6636ead2e00f (diff) | |
download | postgresql-eb335a034b571516cfbb2309a46177b435c9f913.tar.gz postgresql-eb335a034b571516cfbb2309a46177b435c9f913.zip |
I have committed many support files for CREATE CONVERSION. Default
conversion procs and conversions are added in initdb. Currently
supported conversions are:
UTF-8(UNICODE) <--> SQL_ASCII, ISO-8859-1 to 16, EUC_JP, EUC_KR,
EUC_CN, EUC_TW, SJIS, BIG5, GBK, GB18030, UHC,
JOHAB, TCVN
EUC_JP <--> SJIS
EUC_TW <--> BIG5
MULE_INTERNAL <--> EUC_JP, SJIS, EUC_TW, BIG5
Note that initial contents of pg_conversion system catalog are created
in the initdb process. So doing initdb required is ideal, it's
possible to add them to your databases by hand, however. To accomplish
this:
psql -f your_postgresql_install_path/share/conversion_create.sql your_database
So I did not bump up the version in cataversion.h.
TODO:
Add more conversion procs
Add [CASCADE|RESTRICT] to DROP CONVERSION
Add tuples to pg_depend
Add regression tests
Write docs
Add SQL99 CONVERT command?
--
Tatsuo Ishii
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions