pgsql: Add opaque declaration of HTAB to tqual.h.

From: Kevin Grittner <kgrittn(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add opaque declaration of HTAB to tqual.h.
Date: 2015-06-27 14:57:06
Message-ID: E1Z8rXW-000473-6a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-06-27 17:23:15 pgsql: Fix test_decoding's handling of nonexistant columns in old tuple
Previous Message Heikki Linnakangas 2015-06-27 07:19:00 pgsql: Fix typo in comment