[pgsql-jp: 37317] Re: PGCluster で encrypt('XXX', 'YYY', 'des-cbc') を実行できるのか?

a.mitani @ sra-europe.com a.mitani @ sra-europe.com
2006年 6月 30日 (金) 05:57:18 JST


こんにちは。

> PGClusterでpgcryptoをインストールし、encrypt('XXX', 'YYY', 'des-cbc')を実行
> することはできますでしょうか?

すみません、contribの下のものはテストしてないです。

> # psql dbname
>
> dbname=# select encrypt( '1あ', 'KEY', 'des-cbc');
> server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.
> !> \q
> [postgres @ localhost pgcrypto]$

このプロンプトから推測するに、文字列処理のところで落ちてそうですね。
ulimitを調整してcoreを吐くようにしてやると、たぶんcoreを吐いているのではない
かと思います。

configure時にdebugオプションを付けてコンパイルし、デバッガーで見てみてくださ
い。
パッチを送って貰えると嬉しいです。


三谷@オランダ



pgsql-jp メーリングリストの案内