Re: pgcrypto related backend crash on solaris 10/x86_64

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Zdenek Kotala" <Zdenek(dot)Kotala(at)sun(dot)com>
Cc: "Stefan Kaltenbrunner" <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgcrypto related backend crash on solaris 10/x86_64
Date: 2007-09-11 14:28:27
Message-ID: e51f66da0709110728i7a5f60d6q27827bec44af32f5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/11/07, Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com> wrote:
> Marko Kreen wrote:
> > This is crashing because of the crippled OpenSSL on some version
> > of Solaris. Zdenek Kotala posted a workaround for that, I am
> > cleaning it but have not found the time to finalize it.
> >
> > I'll try to post v03 of Zdenek's patch ASAP.

> However, I guess there still will be a problem with regression tests,
> because pg_crypto will reports error in case when user tries to use
> stronger cipher, but it generates diff between expected and real output.
>
> I don't know if is possible select different output based on test if
> strong crypto is installed or not. Maybe some magic in
> Makefile/Configure. Test should be:
>
> # ldd /usr/postgres/8.2/lib/pgcrypto.so | grep libcrypto_extra
> # libcrypto_extra.so.0.9.8 => (file not found)
>
> if output contains (file not found) library is not installed or not in
> path (/usr/sfw/lib).

Failing regression tests are fine - it is good if user can
easily see that the os is broken.

--
marko

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2007-09-11 14:39:45 pg_dump and money type
Previous Message Tom Lane 2007-09-11 14:21:49 Re: Final Thoughts for 8.3 on LWLocking and Scalability