From: | rhaas(at)postgresql(dot)org (Robert Haas) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Export ExplainBeginOutput() and ExplainEndOutput() for |
Date: | 2009-12-12 00:35:34 |
Message-ID: | 20091212003534.12ADA753FB7@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Export ExplainBeginOutput() and ExplainEndOutput() for auto_explain.
Without these functions, anyone outside of explain.c can't actually use
ExplainPrintPlan, because the ExplainState won't be initialized properly.
The user-visible result of this was a crash when using auto_explain with
the JSON output format.
Report by Euler Taveira de Oliveira. Analysis by Tom Lane. Patch by me.
Modified Files:
--------------
pgsql/contrib/auto_explain:
auto_explain.c (r1.8 -> r1.9)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/auto_explain/auto_explain.c?r1=1.8&r2=1.9)
pgsql/src/backend/commands:
explain.c (r1.194 -> r1.195)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/explain.c?r1=1.194&r2=1.195)
pgsql/src/include/commands:
explain.h (r1.42 -> r1.43)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/explain.h?r1=1.42&r2=1.43)
From | Date | Subject | |
---|---|---|---|
Next Message | User Bmomjian | 2009-12-12 16:56:23 | pg-migrator - pg_migrator: Stamp 8.4.5. |
Previous Message | Tom Lane | 2009-12-11 21:50:06 | pgsql: Arrange to generate different random sequences in the different |