1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Revert "Convert *GetDatum() and DatumGet*() macros to inline functions"

This reverts commit 595836e99b.

It has problems when USE_FLOAT8_BYVAL is off.
This commit is contained in:
Peter Eisentraut
2022-09-12 19:57:07 +02:00
parent 595836e99b
commit e8d78581bb
27 changed files with 190 additions and 659 deletions

View File

@ -2763,7 +2763,7 @@ c_overpaid(PG_FUNCTION_ARGS)
is null. <function>GetAttributeByName</function> returns a <type>Datum</type>
value that you can convert to the proper data type by using the
appropriate <function>DatumGet<replaceable>XXX</replaceable>()</function>
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.
</para>