Re: Vacuum from within a function crashes backend

From: "Magnus Naeslund(f)" <mag(at)fbab(dot)net>
To: "Alvaro Herrera" <alvherre(at)atentus(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Vacuum from within a function crashes backend
Date: 2002-09-28 16:12:09
Message-ID: 159e01c26709$cc4e3800$f80c0a0a@mnd
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)atentus(dot)com> wrote:
> Magnus Naeslund(f) dijo:
>
>> Hello,
>>
>> I did a vacuum from within a function, and it went sig11 on me.
>> Is it illegal to do that?
>
> Huh... what version is this? In current sources, VACUUM cannot be
> run inside a function (it will throw an ERROR). In 7.2[.1] I see
> there is no protection against this.
>
> Maybe the fix for this should be backported to 7.2 also.

Argh!
Sorry i forgot the version, it's as you say 7.2.1..
Then i'll just not do that :)

Magnus

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Programmer/Networker [|] Magnus Naeslund
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-09-28 16:14:54 Re: version mismatch detection doesn't work
Previous Message Tom Lane 2002-09-28 16:01:33 Improving backend startup interlock