Reject ANALYZE commands during VACUUM FULL or another ANALYZE.

Noah Misch <noah@leadboat.com>

Commit: e045052863a4517b11ffab0ae9a92160280d49ea
Author: Noah Misch <noah@leadboat.com>
Date: 2015-01-08T03:34:26Z
Releases: 9.2.10
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).

Files