From e8d78581bb864369035c736a82ecfb57482a1a09 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 12 Sep 2022 19:57:07 +0200 Subject: Revert "Convert *GetDatum() and DatumGet*() macros to inline functions" This reverts commit 595836e99bf1ee6d43405b885fb69bb8c6d3ee23. It has problems when USE_FLOAT8_BYVAL is off. --- doc/src/sgml/xfunc.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml index cf5810b3c16..b8cefb9c2ca 100644 --- a/doc/src/sgml/xfunc.sgml +++ b/doc/src/sgml/xfunc.sgml @@ -2763,7 +2763,7 @@ c_overpaid(PG_FUNCTION_ARGS) is null. GetAttributeByName returns a Datum value that you can convert to the proper data type by using the appropriate DatumGetXXX() - function. Note that the return value is meaningless if the null flag is + macro. Note that the return value is meaningless if the null flag is set; always check the null flag before trying to do anything with the result. -- cgit v1.2.3