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

From Alvaro Herrera
Subject Re: Vacuum from within a function crashes backend
Date
Msg-id Pine.LNX.4.44.0209281104490.11131-100000@alvh.no-ip.org
Whole thread Raw
In response to Vacuum from within a function crashes backend  ("Magnus Naeslund(f)" <mag@fbab.net>)
List pgsql-hackers
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.

-- 
Alvaro Herrera (<alvherre[a]atentus.com>)
"Hay quien adquiere la mala costumbre de ser infeliz" (M. A. Evans)




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: making use of large TLB pages
Next
From: Greg Copeland
Date:
Subject: Re: How to REINDEX in high volume environments?