forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteb335a0
committed
I have committed many support files for CREATE CONVERSION. Default
conversion procs and conversions are added in initdb. Currentlysupported 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, TCVNEUC_JP <--> SJISEUC_TW <--> BIG5MULE_INTERNAL <--> EUC_JP, SJIS, EUC_TW, BIG5Note that initial contents of pg_conversion system catalog are createdin the initdb process. So doing initdb required is ideal, it'spossible to add them to your databases by hand, however. To accomplishthis:psql -f your_postgresql_install_path/share/conversion_create.sql your_databaseSo I did not bump up the version in cataversion.h.TODO:Add more conversion procsAdd [CASCADE|RESTRICT] to DROP CONVERSIONAdd tuples to pg_dependAdd regression testsWrite docsAdd SQL99 CONVERT command?--Tatsuo Ishii1 parentdf432df commiteb335a0
File tree
13 files changed
+173
-2276
lines changed- src
- backend
- commands
- parser
- utils
- mb
- misc
- bin
- initdb
- psql
- include/mb
- interfaces/libpq
13 files changed
+173
-2276
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
| 134 | + | |
134 | 135 |
| |
135 | 136 |
| |
136 | 137 |
| |
|
Lines changed: 8 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
32 | 30 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 | 31 |
| |
40 | 32 |
| |
41 | 33 |
| |
| |||
472 | 464 |
| |
473 | 465 |
| |
474 | 466 |
| |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
| 467 | + | |
481 | 468 |
| |
482 | 469 |
| |
483 | 470 |
| |
484 | 471 |
| |
485 | 472 |
| |
486 |
| - | |
487 | 473 |
| |
488 |
| - | |
489 | 474 |
| |
490 | 475 |
| |
491 | 476 |
| |
492 | 477 |
| |
493 |
| - | |
494 |
| - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
495 | 483 |
| |
496 |
| - | |
497 |
| - | |
498 |
| - | |
| 484 | + | |
499 | 485 |
| |
500 | 486 |
| |
501 | 487 |
| |
502 | 488 |
| |
503 | 489 |
| |
504 | 490 |
| |
505 |
| - | |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 | 491 |
| |
513 | 492 |
| |
514 | 493 |
| |
|
Lines changed: 10 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
66 |
| - | |
67 | 65 |
| |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 | 66 |
| |
73 | 67 |
| |
74 | 68 |
| |
| |||
3570 | 3564 |
| |
3571 | 3565 |
| |
3572 | 3566 |
| |
3573 |
| - | |
3574 |
| - | |
3575 |
| - | |
| 3567 | + | |
| 3568 | + | |
3576 | 3569 |
| |
3577 |
| - | |
3578 |
| - | |
3579 |
| - | |
3580 |
| - | |
3581 |
| - | |
| 3570 | + | |
| 3571 | + | |
3582 | 3572 |
| |
3583 | 3573 |
| |
3584 | 3574 |
| |
3585 | 3575 |
| |
3586 | 3576 |
| |
3587 | 3577 |
| |
3588 |
| - | |
3589 |
| - | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
3590 | 3583 |
| |
3591 |
| - | |
3592 |
| - | |
3593 |
| - | |
3594 |
| - | |
3595 | 3584 |
| |
3596 | 3585 |
| |
3597 | 3586 |
| |
|
Lines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
| 16 | + | |
16 | 17 |
| |
17 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 |
| |
19 | 25 |
| |
| 26 | + | |
20 | 27 |
| |
21 | 28 |
| |
22 | 29 |
| |
23 | 30 |
| |
24 | 31 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 | 32 |
| |
29 | 33 |
| |
30 | 34 |
|
0 commit comments
Comments
(0)