Re: Vacuum in multi-statement

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Vacuum in multi-statement
Date: 2007-04-04 14:31:29
Message-ID: 21494.1175697089@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> 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

That's intentional. It "worked" only for rather small values of "work".

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Schiltknecht 2007-04-04 14:31:54 Re: Auto Partitioning
Previous Message Tom Lane 2007-04-04 14:22:28 Re: Bug in UTF8-Validation Code?