pgsql: Reject ANALYZE commands during VACUUM FULL or another ANALYZE.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reject ANALYZE commands during VACUUM FULL or another ANALYZE.
Date: 2015-01-08 04:06:06
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-01-08 12:18:00 pgsql: Remove comment that was intended to have been removed before com
Previous Message Robert Haas 2015-01-07 19:50:35 pgsql: docs: Reword CREATE POLICY documentation.