Re: [BUGS] 7.2 crash...

2002-03-21 Thread Tom Lane
"Rod Taylor" <[EMAIL PROTECTED]> writes: > 7.2 crashes with the below function: > CREATE OR REPLACE FUNCTION runMaintenance() > RETURNS BOOL AS ' > VACUUM; > SELECT TRUE; > ' LANGUAGE sql; AFAICS there is no way that we can support VACUUM inside a function; the forced transaction commits that

Re: [BUGS] 7.2 crash...

2002-03-21 Thread Bruce Momjian
Tom Lane wrote: > "Rod Taylor" <[EMAIL PROTECTED]> writes: > > 7.2 crashes with the below function: > > CREATE OR REPLACE FUNCTION runMaintenance() > > RETURNS BOOL AS ' > > VACUUM; > > SELECT TRUE; > > ' LANGUAGE sql; > > AFAICS there is no way that we can support VACUUM inside a function; >