postgresql/src/include
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 Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
bootstrap Update copyright to 2002. 2002-06-20 20:29:54 +00:00
catalog Add more dependency insertions --- this completes the basic pg_depend 2002-07-16 22:12:20 +00:00
commands Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
executor The attached patch fixes some spelling mistakes, makes the 2002-06-26 21:58:56 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Update copyright to 2002. 2002-06-20 20:29:54 +00:00
mb I have committed many support files for CREATE CONVERSION. Default 2002-07-18 02:02:30 +00:00
nodes Add more dependency insertions --- this completes the basic pg_depend 2002-07-16 22:12:20 +00:00
optimizer Update copyright to 2002. 2002-06-20 20:29:54 +00:00
parser Update copyright to 2002. 2002-06-20 20:29:54 +00:00
port Not needed anymore. 2002-05-05 16:47:09 +00:00
regex Implement SQL99 OVERLAY(). Allows substitution of a substring in a string. 2002-06-11 15:44:38 +00:00
rewrite Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
storage Add SET statement_timeout capability. Timeout is in ms. A value of 2002-07-13 01:02:14 +00:00
tcop Update copyright to 2002. 2002-06-20 20:29:54 +00:00
utils Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
c.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
fmgr.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
funcapi.h uint -> uint32, portability. 2002-06-22 04:08:07 +00:00
Makefile Include directory rearrangement 2001-08-28 14:20:28 +00:00
miscadmin.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
pg_config.h.in Create an internal semaphore API that is not tied to SysV semaphores. 2002-05-05 00:03:29 +00:00
pg_config.h.win32 I'm at the win32 error messages once more. The DLL load thingy doesn't 2002-04-24 02:26:06 +00:00
pgstat.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
postgres.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
postgres_ext.h Document that NAMEDATALEN must be a multiple of sizeof(int). 2002-04-30 19:53:03 +00:00
postgres_fe.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
rusagestub.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
strdup.h Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 1997-09-08 02:41:22 +00:00