mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Wrap inline function definitions in #ifndef FRONTEND
This should fix failures under certain compilers (a well known
limitation). My oversight in e27f4ee0a7
.
Discussion: https://postgr.es/m/3029088.1648145389@sss.pgh.pa.us
This commit is contained in:
@ -733,6 +733,7 @@ extern size_t varsize_any(void *p);
|
|||||||
extern HeapTuple heap_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc);
|
extern HeapTuple heap_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc);
|
||||||
extern MinimalTuple minimal_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc);
|
extern MinimalTuple minimal_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc);
|
||||||
|
|
||||||
|
#ifndef FRONTEND
|
||||||
/*
|
/*
|
||||||
* fastgetattr
|
* fastgetattr
|
||||||
* Fetch a user attribute's value as a Datum (might be either a
|
* 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)
|
|||||||
else
|
else
|
||||||
return heap_getsysattr(tup, attnum, tupleDesc, isnull);
|
return heap_getsysattr(tup, attnum, tupleDesc, isnull);
|
||||||
}
|
}
|
||||||
|
#endif /* FRONTEND */
|
||||||
|
|
||||||
#endif /* HTUP_DETAILS_H */
|
#endif /* HTUP_DETAILS_H */
|
||||||
|
Reference in New Issue
Block a user