Skip to content

Commit e6c2d17

Browse files
committed
Small code simplification
FLOAT8PASSBYVAL can be used instead of USE_FLOAT8_BYVAL here.
1 parent 7fc380f commit e6c2d17

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/backend/utils/adt/rangetypes_typanalyze.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,7 @@ compute_range_stats(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc,
325325
stats->numvalues[slot_idx] = num_hist;
326326
stats->statypid[slot_idx] = FLOAT8OID;
327327
stats->statyplen[slot_idx] = sizeof(float8);
328-
#ifdef USE_FLOAT8_BYVAL
329-
stats->statypbyval[slot_idx] = true;
330-
#else
331-
stats->statypbyval[slot_idx] = false;
332-
#endif
328+
stats->statypbyval[slot_idx] = FLOAT8PASSBYVAL;
333329
stats->statypalign[slot_idx] = 'd';
334330

335331
/* Store the fraction of empty ranges */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy