git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75b1521)
Wrap inline function definitions in #ifndef FRONTEND
2022年3月24日 18:30:06 +0000 (19:30 +0100)
2022年3月24日 18:31:05 +0000 (19:31 +0100)
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


diff --git a/src/include/access/htup_details.h b/src/include/access/htup_details.h
index de0b91e1fa8cf3da9628b123b7b061dd7a401a04..3d452d50a198e1a21ff5691ce05203e33af9f5ad 100644 (file)
--- 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 */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /