]> granicus.if.org Git - postgresql/commit
Add opaque declaration of HTAB to tqual.h.
authorKevin Grittner <kgrittn@postgresql.org>
Sat, 27 Jun 2015 14:55:08 +0000 (09:55 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sat, 27 Jun 2015 14:55:08 +0000 (09:55 -0500)
commit524e1e40316afc3cf8ba70910fefe1f99b18144f
tree2dcd1bcb336523258f4646d5dc46deca5198b89e
parent8ab0ef89d918eacda05413a6ea593b0d6e9525b9
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.
src/include/utils/tqual.h