On Wed, Mar 5, 2025 at 4:00 PM Tom Lane <t...@sss.pgh.pa.us> wrote:
> Ah.  I was mistakenly assuming that 0001 would compile on its own ;-)

Oopsie.

> Got it.  So does that mean we can remove any #include's from explain.h
> after moving the struct definition?

Good question. It looks like "lib/stringinfo.h" can come out but the
other two are still needed, so there is not much gain. But I've made
that change in the attached v4.

I also added "= NULL" to a couple of variable initialization in 0003
in this version, because Andres pointed out to me that cfbot was
seeing compiler warnings. It's a little odd that it warned, because
the variables were initialized by a switch over all enum values, but I
guess some compiler doesn't find that convincing enough.

-- 
Robert Haas
EDB: http://www.enterprisedb.com

Attachment: v4-0002-Add-some-new-hooks-so-extensions-can-add-details-.patch
Description: Binary data

Attachment: v4-0003-pg_overexplain-Additional-EXPLAIN-options-for-deb.patch
Description: Binary data

Attachment: v4-0001-Make-it-possible-for-loadable-modules-to-add-EXPL.patch
Description: Binary data

Reply via email to