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-00057V-4Q@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_4_STABLE

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

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: Always set the six locale category environment variables in main
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: On Darwin, detect and report a multithreaded postmaster.