diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-03-24 19:30:06 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-03-24 19:31:05 +0100 |
commit | 86459b3296803cfa4d3e53c0fc8763412c71b6d0 (patch) | |
tree | 37499f6da9d96ca1219204ed0c16720a0dff0ed6 /src | |
parent | 75b1521dae1ff1fde17fda2e30e591f2e5d64b6a (diff) | |
download | postgresql-86459b3296803cfa4d3e53c0fc8763412c71b6d0.tar.gz postgresql-86459b3296803cfa4d3e53c0fc8763412c71b6d0.zip |
Wrap inline function definitions in #ifndef FRONTEND
This should fix failures under certain compilers (a well known
limitation). My oversight in e27f4ee0a701.
Discussion: https://postgr.es/m/3029088.1648145389@sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/htup_details.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/access/htup_details.h b/src/include/access/htup_details.h index de0b91e1fa8..3d452d50a19 100644 --- a/src/include/access/htup_details.h +++ b/src/include/access/htup_details.h @@ -733,6 +733,7 @@ extern size_t varsize_any(void *p); extern HeapTuple heap_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc); extern MinimalTuple minimal_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleDesc); +#ifndef FRONTEND /* * fastgetattr * 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 return heap_getsysattr(tup, attnum, tupleDesc, isnull); } +#endif /* FRONTEND */ #endif /* HTUP_DETAILS_H */ |