Reject ANALYZE commands during VACUUM FULL or another ANALYZE.

Noah Misch <noah@leadboat.com>

Commit: fa042abddfad054b6872a2e2451868b08a230a2a
Author: Noah Misch <noah@leadboat.com>
Date: 2015-01-08T03:34:17Z
Releases: 9.4.1
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