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

Commit14ea365

Browse files
committed
Hide a static inline from FRONTEND code.
For some reason pg_waldump is including tuptable.h, and the recentaddition of a static inline function to it is causing problems onolder buildfarm members that fail to optimize such functions awaycompletely. I wonder if this situation doesn't mean that some headerrefactoring is called for ... but as a band-aid, wrap the staticfunction in "#ifndef FRONTEND".Discussion:https://postgr.es/m/20180824154237.mabsv6fsz5q37bma@alap3.anarazel.de
1 parente3d77ea commit14ea365

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/include/executor/tuptable.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ extern bool slot_getsysattr(TupleTableSlot *slot, int attnum,
180180
Datum*value,bool*isnull);
181181
externvoidslot_getmissingattrs(TupleTableSlot*slot,intstartAttNum,intlastAttNum);
182182

183+
#ifndefFRONTEND
184+
183185
/*
184186
* slot_getallattrs
185187
*This function forces all the entries of the slot's Datum/isnull
@@ -192,4 +194,6 @@ slot_getallattrs(TupleTableSlot *slot)
192194
slot_getsomeattrs(slot,slot->tts_tupleDescriptor->natts);
193195
}
194196

197+
#endif
198+
195199
#endif/* TUPTABLE_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp