Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e6c2d17c
Commit
e6c2d17c
authored
5 years ago
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small code simplification
FLOAT8PASSBYVAL can be used instead of USE_FLOAT8_BYVAL here.
parent
7fc380f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/backend/utils/adt/rangetypes_typanalyze.c
src/backend/utils/adt/rangetypes_typanalyze.c
+1
-5
No files found.
src/backend/utils/adt/rangetypes_typanalyze.c
View file @
e6c2d17c
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment