Re: Segmentation fault using digest from pg_crypto

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Segmentation fault using digest from pg_crypto
Date: 2007-11-10 00:12:24
Message-ID: 200711100012.lAA0CO306458@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marko Kreen wrote:
> On 11/10/07, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > OK, first question. How would someone have the 8.0 signatures in 8.2?
> > Don't they reinstall pgcrypto for every major release?
>
> Why reinstall if the functions come from dump?
>
> At least in skype we stumbled on the problem. But if the reinstall
> is widespread practice, then indeed it may not be worth bothering.

I assumed that the /contrib modules changed enough that people would
always reinstall them for a major release. However, I don't know how to
excluded them from dumps. If you don't have the pgcrypto library
installed I think the CREATE FUNCTIONs fail because there is no library.

The strange thing is we have never gotten too many complaints about
upgrading the /contrib stuff, which is kind of odd. We have talked
about putting each /contrib in its own schema so it could be easily
excluded but that never happened. Putting all the contribs in one
schema might be a good middle ground.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-11-10 00:16:16 Re: Segmentation fault using digest from pg_crypto
Previous Message Tom Lane 2007-11-10 00:07:17 Re: [HACKERS] Is "query" a reserved word in 8.3 plpgsql?