Re: Vacuum from within a function crashes backend - Mailing list pgsql-hackers

From Magnus Naeslund(f)
Subject Re: Vacuum from within a function crashes backend
Date
Msg-id 159e01c26709$cc4e3800$f80c0a0a@mnd
Whole thread Raw
In response to Re: Vacuum from within a function crashes backend  (Alvaro Herrera <alvherre@atentus.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@atentus.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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Improving backend startup interlock
Next
From: Tom Lane
Date:
Subject: Re: version mismatch detection doesn't work