Content-Length: 266032 | pFad | http://github.com/postgrespro/postgres/commit/86459b3296803cfa4d3e53c0fc8763412c71b6d0

9B Wrap inline function definitions in #ifndef FRONTEND · postgrespro/postgres@86459b3 · GitHub
Skip to content

Commit 86459b3

Browse files
committed
Wrap inline function definitions in #ifndef FRONTEND
This should fix failures under certain compilers (a well known limitation). My oversight in e27f4ee. Discussion: https://postgr.es/m/3029088.1648145389@sss.pgh.pa.us
1 parent 75b1521 commit 86459b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/include/access/htup_details.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ extern size_t varsize_any(void *p);
733733
extern HeapTuple heap_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc);
734734
extern MinimalTuple minimal_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc);
735735

736+
#ifndef FRONTEND
736737
/*
737738
* fastgetattr
738739
* Fetch a user attribute's value as a Datum (might be either a
@@ -801,5 +802,6 @@ heap_getattr(HeapTuple tup, int attnum, TupleDesc tupleDesc, bool *isnull)
801802
else
802803
return heap_getsysattr(tup, attnum, tupleDesc, isnull);
803804
}
805+
#endif /* FRONTEND */
804806

805807
#endif /* HTUP_DETAILS_H */

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/86459b3296803cfa4d3e53c0fc8763412c71b6d0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy