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

Commitc78f109

Browse files
committed
Make our back branches build under -fkeep-inline-functions.
Add "#ifndef FRONTEND" where necessary to make pg_waldump buildon compilers that don't elide unused static-inline functions.This back-patches relevant parts of commit3e9ca52, fixing buildbreakage fromdc7420c and back-patching off10f0ae.Per recently-resurrected buildfarm member castoroides. We aren'texpecting castoroides to build anything newer than v11, but wemight as well clean up the intermediate branches while at it.
1 parent1b9a0b9 commitc78f109

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/include/utils/rel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ typedef struct ViewOptions
505505
(RELKIND_HAS_STORAGE((relation)->rd_rel->relkind) && \
506506
((relation)->rd_rel->relfilenode == InvalidOid))
507507

508+
#ifndefFRONTEND
508509
/*
509510
* RelationGetSmgr
510511
*Returns smgr file handle for a relation, opening it if needed.
@@ -525,6 +526,7 @@ RelationGetSmgr(Relation rel)
525526
smgrsetowner(&(rel->rd_smgr),smgropen(rel->rd_node,rel->rd_backend));
526527
returnrel->rd_smgr;
527528
}
529+
#endif/* !FRONTEND */
528530

529531
/*
530532
* RelationOpenSmgr

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp