Content-Length: 263599 | pFad | http://github.com/postgrespro/postgres/commit/e6c2d17c5367ddcd900450c6a857dac8630da0ca

18 Small code simplification · postgrespro/postgres@e6c2d17 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/e6c2d17c5367ddcd900450c6a857dac8630da0ca

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy