Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6c2d17

Browse files
committed
Small code simplification
FLOAT8PASSBYVAL can be used instead of USE_FLOAT8_BYVAL here.
1 parent7fc380f commite6c2d17

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-
#ifdefUSE_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)

[8]ページ先頭

©2009-2025 Movatter.jp