Vacuum in multi-statement - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Vacuum in multi-statement
Date
Msg-id 4613686C.7050709@enterprisedb.com
Whole thread Raw
List pgsql-hackers
This used to work in 8.2:

psql postgres -c "VACUUM table1; SELECT now()"

But in cvs head it throws an error:
ERROR:  VACUUM cannot be executed from a function or multi-command string

This must be because of the recent changes to PreventTransactionChain.

Should we try to keep the old behavior for backwards-compatibility? The 
change will break some people's scripts, that's the way I noticed it.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Vacuum in multi-statement
Next
From: "Simon Riggs"
Date:
Subject: Re: Synchronized Scan benchmark results