postgresql/src/backend
Tatsuo Ishii eb335a034b 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
2002-07-18 02:02:30 +00:00
..
access >the extra level of struct naming for pd_opaque has no obvious 2002-07-02 06:18:57 +00:00
bootstrap Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
catalog Add more dependency insertions --- this completes the basic pg_depend 2002-07-16 22:12:20 +00:00
commands I have committed many support files for CREATE CONVERSION. Default 2002-07-18 02:02:30 +00:00
executor Change error messages ExecAppend->ExecInsert and ExecReplace->ExecUpdate 2002-07-11 21:36:20 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Remove certain Makefile dependencies by using full pathnames in 2002-07-15 21:34:05 +00:00
main Update copyright to 2002. 2002-06-20 20:29:54 +00:00
nodes Add more dependency insertions --- this completes the basic pg_depend 2002-07-16 22:12:20 +00:00
optimizer Fix testing of partial-index predicates to work correctly in cases where 2002-07-13 19:20:34 +00:00
parser I have committed many support files for CREATE CONVERSION. Default 2002-07-18 02:02:30 +00:00
po Improve lexer's error reporting. You get the whole token mentioned now 2002-05-01 17:12:08 +00:00
port Add DLLINIT mention in port/Makefile. 2002-07-16 05:49:38 +00:00
postmaster Add SET statement_timeout capability. Timeout is in ms. A value of 2002-07-13 01:02:14 +00:00
regex Implement SQL99 OVERLAY(). Allows substitution of a substring in a string. 2002-06-11 15:44:38 +00:00
rewrite Add code to extract dependencies from an expression tree, and use it 2002-07-16 05:53:34 +00:00
storage Add SET statement_timeout capability. Timeout is in ms. A value of 2002-07-13 01:02:14 +00:00
tcop Add SET statement_timeout capability. Timeout is in ms. A value of 2002-07-13 01:02:14 +00:00
tioga Update copyright to 2002. 2002-06-20 20:29:54 +00:00
utils I have committed many support files for CREATE CONVERSION. Default 2002-07-18 02:02:30 +00:00
Makefile I have committed many support files for CREATE CONVERSION. Default 2002-07-18 02:02:30 +00:00