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

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема pgsql: Add opaque declaration of HTAB to tqual.h.
Дата
Msg-id E1Z8rXW-000472-6U@gemulon.postgresql.org
обсуждение исходный текст
Список 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(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: pgsql: Add opaque declaration of HTAB to tqual.h.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix test_decoding's handling of nonexistant columns in old tuple