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-00057h-5q@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
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4dd51b366eb4f66ea2f1f30b5fda5960c633893d

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: On Darwin, detect and report a multithreaded postmaster.
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Reject ANALYZE commands during VACUUM FULL or another ANALYZE.