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
95b9c333
Commit
95b9c333
authored
Apr 07, 2012
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Further adjustment of comment about qsort_tuple.
parent
a25ef7a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/backend/utils/sort/tuplesort.c
src/backend/utils/sort/tuplesort.c
+6
-3
No files found.
src/backend/utils/sort/tuplesort.c
View file @
95b9c333
...
@@ -346,7 +346,7 @@ struct Tuplesortstate
...
@@ -346,7 +346,7 @@ struct Tuplesortstate
/*
/*
* This variable is shared by the single-key MinimalTuple case and the
* This variable is shared by the single-key MinimalTuple case and the
* Datum case. Otherwise it's NULL.
* Datum case
(which both use qsort_ssup())
. Otherwise it's NULL.
*/
*/
SortSupport
onlyKey
;
SortSupport
onlyKey
;
...
@@ -500,8 +500,11 @@ static void reversedirection_datum(Tuplesortstate *state);
...
@@ -500,8 +500,11 @@ static void reversedirection_datum(Tuplesortstate *state);
static
void
free_sort_tuple
(
Tuplesortstate
*
state
,
SortTuple
*
stup
);
static
void
free_sort_tuple
(
Tuplesortstate
*
state
,
SortTuple
*
stup
);
/*
/*
* Special versions of qsort just for SortTuple objects. We have one for the
* Special versions of qsort just for SortTuple objects. qsort_tuple() sorts
* single-key case (qsort_ssup) and one for multi-key cases (qsort_tuple).
* any variant of SortTuples, using the appropriate comparetup function.
* qsort_ssup() is specialized for the case where the comparetup function
* reduces to ApplySortComparator(), that is single-key MinimalTuple sorts
* and Datum sorts.
*/
*/
#include "qsort_tuple.c"
#include "qsort_tuple.c"
...
...
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