mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +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:
@ -51,7 +51,7 @@ g_int_consistent(PG_FUNCTION_ARGS)
|
||||
|
||||
/* Oid subtype = PG_GETARG_OID(3); */
|
||||
bool *recheck = (bool *) PG_GETARG_POINTER(4);
|
||||
bool retval = false; /* silence compiler warning */
|
||||
bool retval;
|
||||
|
||||
/* this is exact except for RTSameStrategyNumber */
|
||||
*recheck = (strategy == RTSameStrategyNumber);
|
||||
|
Reference in New Issue
Block a user