Vacuum in multi-statement

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Vacuum in multi-statement
Дата
Msg-id 4613644C.8040408@enterprisedb.com
обсуждение исходный текст
Ответы Re: Vacuum in multi-statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Marko Kreen"
Дата:
Сообщение: Re: PL/Python warnings in CVS HEAD
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Vacuum in multi-statement