pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add opaque declaration of HTAB to tqual.h. 2+ messages / 1 participants [nested] [flat]
* pgsql: Add opaque declaration of HTAB to tqual.h. @ 2015-06-27 14:57 Kevin Grittner <kgrittn@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Kevin Grittner @ 2015-06-27 14:57 UTC (permalink / raw) To: pgsql-committers Add opaque declaration of HTAB to tqual.h. Commit b89e151054a05f0f6d356ca52e3b725dd0505e53 added the ResolveCminCmaxDuringDecoding declaration to tqual.h, which uses an HTAB parameter, without declaring HTAB. It accidentally fails to fail to build with current sources because a declaration happens to be included, directly or indirectly, in all source files that currently use tqual.h before tqual.h is first included, but we shouldn't count on that. Since an opaque declaration is enough here, just use that, as was done in snapmgr.h. Backpatch to 9.4, where the HTAB reference was added to tqual.h. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/604e99396de02f6f23950ee373c13335d2ccdf05 Modified Files -------------- src/include/utils/tqual.h | 1 + 1 file changed, 1 insertion(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Add opaque declaration of HTAB to tqual.h. @ 2015-06-27 14:57 Kevin Grittner <kgrittn@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Kevin Grittner @ 2015-06-27 14:57 UTC (permalink / raw) To: pgsql-committers Add opaque declaration of HTAB to tqual.h. Commit b89e151054a05f0f6d356ca52e3b725dd0505e53 added the ResolveCminCmaxDuringDecoding declaration to tqual.h, which uses an HTAB parameter, without declaring HTAB. It accidentally fails to fail to build with current sources because a declaration happens to be included, directly or indirectly, in all source files that currently use tqual.h before tqual.h is first included, but we shouldn't count on that. Since an opaque declaration is enough here, just use that, as was done in snapmgr.h. Backpatch to 9.4, where the HTAB reference was added to tqual.h. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/524e1e40316afc3cf8ba70910fefe1f99b18144f Modified Files -------------- src/include/utils/tqual.h | 1 + 1 file changed, 1 insertion(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-06-27 14:57 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-06-27 14:57 pgsql: Add opaque declaration of HTAB to tqual.h. Kevin Grittner <kgrittn@postgresql.org> 2015-06-27 14:57 pgsql: Add opaque declaration of HTAB to tqual.h. Kevin Grittner <kgrittn@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox