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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy