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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
