pgsql: Reject ANALYZE commands during VACUUM FULL or another ANALYZE.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: Reject ANALYZE commands during VACUUM FULL or another ANALYZE.
Дата
Msg-id E1Y94MI-00057L-3M@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Reject ANALYZE commands during VACUUM FULL or another ANALYZE.

vacuum()'s static variable handling makes it non-reentrant; an ensuing
null pointer deference crashed the backend.  Back-patch to 9.0 (all
supported versions).

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e415b469b33ba328765e39fd62edcd28f30d9c3c

Modified Files
--------------
src/backend/commands/vacuum.c        |   14 ++++++++++++--
src/test/regress/expected/vacuum.out |   14 +++++++++++++-
src/test/regress/sql/vacuum.sql      |    9 ++++++++-
3 files changed, 33 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Reject ANALYZE commands during VACUUM FULL or another ANALYZE.
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: On Darwin, detect and report a multithreaded postmaster.