aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-09-12 19:57:07 +0200
committerPeter Eisentraut <peter@eisentraut.org>2022-09-12 19:57:07 +0200
commite8d78581bb864369035c736a82ecfb57482a1a09 (patch)
treeb6881a0046c905ad671e0b43d60a42a119f4a3d4 /src/backend/access/gist/gistutil.c
parent595836e99bf1ee6d43405b885fb69bb8c6d3ee23 (diff)
downloadpostgresql-e8d78581bb864369035c736a82ecfb57482a1a09.tar.gz
postgresql-e8d78581bb864369035c736a82ecfb57482a1a09.zip
Revert "Convert *GetDatum() and DatumGet*() macros to inline functions"
This reverts commit 595836e99bf1ee6d43405b885fb69bb8c6d3ee23. It has problems when USE_FLOAT8_BYVAL is off.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
-rw-r--r--src/backend/access/gist/gistutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/gist/gistutil.c b/src/backend/access/gist/gistutil.c
index 1532462317b..d4bf0c7563d 100644
--- a/src/backend/access/gist/gistutil.c
+++ b/src/backend/access/gist/gistutil.c
@@ -280,7 +280,7 @@ gistMakeUnionKey(GISTSTATE *giststate, int attno,
bool
gistKeyIsEQ(GISTSTATE *giststate, int attno, Datum a, Datum b)
{
- bool result = false; /* silence compiler warning */
+ bool result;
FunctionCall3Coll(&giststate->equalFn[attno],
giststate->supportCollation[attno],