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
ee44cb75
Commit
ee44cb75
authored
Nov 03, 2015
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve comments about abbreviation abort.
Peter Geoghegan
parent
f18c944b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
src/backend/utils/sort/tuplesort.c
src/backend/utils/sort/tuplesort.c
+20
-10
No files found.
src/backend/utils/sort/tuplesort.c
View file @
ee44cb75
...
@@ -1294,8 +1294,10 @@ tuplesort_putindextuplevalues(Tuplesortstate *state, Relation rel,
...
@@ -1294,8 +1294,10 @@ tuplesort_putindextuplevalues(Tuplesortstate *state, Relation rel,
*
*
* Alter datum1 representation in already-copied tuples, so as to
* Alter datum1 representation in already-copied tuples, so as to
* ensure a consistent representation (current tuple was just
* ensure a consistent representation (current tuple was just
* handled). Note that we rely on all tuples copied so far actually
* handled). It does not matter if some dumped tuples are already
* being contained within memtuples array.
* sorted on tape, since serialized tuples lack abbreviated keys
* (TSS_BUILDRUNS state prevents control reaching here in any
* case).
*/
*/
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
{
{
...
@@ -1373,8 +1375,10 @@ tuplesort_putdatum(Tuplesortstate *state, Datum val, bool isNull)
...
@@ -1373,8 +1375,10 @@ tuplesort_putdatum(Tuplesortstate *state, Datum val, bool isNull)
*
*
* Alter datum1 representation in already-copied tuples, so as to
* Alter datum1 representation in already-copied tuples, so as to
* ensure a consistent representation (current tuple was just
* ensure a consistent representation (current tuple was just
* handled). Note that we rely on all tuples copied so far
* handled). It does not matter if some dumped tuples are
* actually being contained within memtuples array.
* already sorted on tape, since serialized tuples lack
* abbreviated keys (TSS_BUILDRUNS state prevents control
* reaching here in any case).
*/
*/
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
{
{
...
@@ -3174,8 +3178,10 @@ copytup_heap(Tuplesortstate *state, SortTuple *stup, void *tup)
...
@@ -3174,8 +3178,10 @@ copytup_heap(Tuplesortstate *state, SortTuple *stup, void *tup)
*
*
* Alter datum1 representation in already-copied tuples, so as to
* Alter datum1 representation in already-copied tuples, so as to
* ensure a consistent representation (current tuple was just
* ensure a consistent representation (current tuple was just
* handled). Note that we rely on all tuples copied so far actually
* handled). It does not matter if some dumped tuples are already
* being contained within memtuples array.
* sorted on tape, since serialized tuples lack abbreviated keys
* (TSS_BUILDRUNS state prevents control reaching here in any
* case).
*/
*/
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
{
{
...
@@ -3414,8 +3420,10 @@ copytup_cluster(Tuplesortstate *state, SortTuple *stup, void *tup)
...
@@ -3414,8 +3420,10 @@ copytup_cluster(Tuplesortstate *state, SortTuple *stup, void *tup)
*
*
* Alter datum1 representation in already-copied tuples, so as to
* Alter datum1 representation in already-copied tuples, so as to
* ensure a consistent representation (current tuple was just
* ensure a consistent representation (current tuple was just
* handled). Note that we rely on all tuples copied so far actually
* handled). It does not matter if some dumped tuples are already
* being contained within memtuples array.
* sorted on tape, since serialized tuples lack abbreviated keys
* (TSS_BUILDRUNS state prevents control reaching here in any
* case).
*/
*/
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
{
{
...
@@ -3716,8 +3724,10 @@ copytup_index(Tuplesortstate *state, SortTuple *stup, void *tup)
...
@@ -3716,8 +3724,10 @@ copytup_index(Tuplesortstate *state, SortTuple *stup, void *tup)
*
*
* Alter datum1 representation in already-copied tuples, so as to
* Alter datum1 representation in already-copied tuples, so as to
* ensure a consistent representation (current tuple was just
* ensure a consistent representation (current tuple was just
* handled). Note that we rely on all tuples copied so far actually
* handled). It does not matter if some dumped tuples are already
* being contained within memtuples array.
* sorted on tape, since serialized tuples lack abbreviated keys
* (TSS_BUILDRUNS state prevents control reaching here in any
* case).
*/
*/
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
for
(
i
=
0
;
i
<
state
->
memtupcount
;
i
++
)
{
{
...
...
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