Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit604e993

Browse files
committed
Add opaque declaration of HTAB to tqual.h.
Commitb89e151 added theResolveCminCmaxDuringDecoding declaration to tqual.h, which uses anHTAB parameter, without declaring HTAB. It accidentally fails tofail to build with current sources because a declaration happens tobe included, directly or indirectly, in all source files thatcurrently use tqual.h before tqual.h is first included, but weshouldn't count on that. Since an opaque declaration is enoughhere, just use that, as was done in snapmgr.h.Backpatch to 9.4, where the HTAB reference was added to tqual.h.
1 parent7845db2 commit604e993

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/include/utils/tqual.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ extern bool HeapTupleHeaderIsOnlyLocked(HeapTupleHeader tuple);
9494
* To avoid leaking too much knowledge about reorderbuffer implementation
9595
* details this is implemented in reorderbuffer.c not tqual.c.
9696
*/
97+
structHTAB;
9798
externboolResolveCminCmaxDuringDecoding(structHTAB*tuplecid_data,
9899
Snapshotsnapshot,
99100
HeapTuplehtup,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp