mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 15:41:24 +02:00
Small code simplification
FLOAT8PASSBYVAL can be used instead of USE_FLOAT8_BYVAL here.
This commit is contained in:
parent
7fc380f83d
commit
e6c2d17c53
@ -325,11 +325,7 @@ compute_range_stats(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc,
|
||||
stats->numvalues[slot_idx] = num_hist;
|
||||
stats->statypid[slot_idx] = FLOAT8OID;
|
||||
stats->statyplen[slot_idx] = sizeof(float8);
|
||||
#ifdef USE_FLOAT8_BYVAL
|
||||
stats->statypbyval[slot_idx] = true;
|
||||
#else
|
||||
stats->statypbyval[slot_idx] = false;
|
||||
#endif
|
||||
stats->statypbyval[slot_idx] = FLOAT8PASSBYVAL;
|
||||
stats->statypalign[slot_idx] = 'd';
|
||||
|
||||
/* Store the fraction of empty ranges */
|
||||
|
Loading…
Reference in New Issue
Block a user