diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2002-09-18 01:21:28 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2002-09-18 01:21:28 +0000 |
commit | 4c0bdd1ba81530769c952c6113393350ee71558f (patch) | |
tree | 73c9beeaf78bf91cd4245e07db21962d85f45a6d /src | |
parent | 1c4478a5baf270c0ac91413035b32ddb02c15b7d (diff) | |
download | postgresql-4c0bdd1ba81530769c952c6113393350ee71558f.tar.gz postgresql-4c0bdd1ba81530769c952c6113393350ee71558f.zip |
Update Japanese README so that it reflects the changes made to the
conversion function interface.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/mb/conversion_procs/README.euc_jp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/utils/mb/conversion_procs/README.euc_jp b/src/backend/utils/mb/conversion_procs/README.euc_jp index dd4e64ea49a..de6bc0e8474 100644 --- a/src/backend/utils/mb/conversion_procs/README.euc_jp +++ b/src/backend/utils/mb/conversion_procs/README.euc_jp @@ -1,6 +1,6 @@ 新しいエンコーディング変換関数の追加方法 - 2002/07/24 Tatsuo Ishii + 2002/09/18 Tatsuo Ishii はじめに @@ -23,10 +23,10 @@ o C関数の呼び出し形式 conv_proc( INTEGER, -- source encoding id INTEGER, -- destination encoding id - OPAQUE, -- source string (null terminated C string) - OPAQUE, -- destination string (null terminated C string) + CSTRING, -- source string (null terminated C string) + CSTRING, -- destination string (null terminated C string) INTEGER -- source string length - ) returns INTEGER; -- dummy. returns nothing, actually. + ) returns VOID; 唯一の出力引数は4番目のdestination stringです.ユーザ定義関数は必要 なメモリをpallocし,そこに変換結果をNULLターミネートされたC文字列と @@ -77,7 +77,7 @@ o 注意事項 デフォルトのエンコーディング変換として使用できるためには,ソースエン コーディングとデスティネーションエンコーディングの間で双方向の変換が - できることが必要ですすなわち,あるエンコーディングのペアに付き,2個 - の関数の作成が必要です.これらの関数は別々のサブディレクトリに登録し - ても良いですが,通常は一つのソースファイル中に2個の関数を書くことが - 多いでしょう. + できることが必要です.すなわち,あるエンコーディングのペアに付き,2 + 個の関数の作成が必要です.これらの関数は別々のサブディレクトリに登録 + しても良いですが,通常は一つのソースファイル中に2個の関数を書くこと + が多いでしょう. |