diff options
author | Peter Geoghegan <pg@bowt.ie> | 2018-06-26 11:16:20 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2018-06-26 11:16:20 -0700 |
commit | aefb0a382c10877867d831afe8a292aa355c5a68 (patch) | |
tree | 87a78d26b884818ef5f9f2efc44f852175acdee3 /src | |
parent | cdc2693a11b341043f33e1efc36debe0348fb361 (diff) | |
download | postgresql-aefb0a382c10877867d831afe8a292aa355c5a68.tar.gz postgresql-aefb0a382c10877867d831afe8a292aa355c5a68.zip |
Correct a comment on logtape.c's leader tape.
randomAccess parallel tuplesorts are disallowed because the leader would
try to write to its own leader tape, not because the leader would try to
write to a worker tape directly.
Cleanup from commit 9da0cc35284.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/sort/logtape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c index a0d6c75c37e..62d7797e1e5 100644 --- a/src/backend/utils/sort/logtape.c +++ b/src/backend/utils/sort/logtape.c @@ -471,7 +471,7 @@ ltsConcatWorkerTapes(LogicalTapeSet *lts, TapeShare *shared, * Compute number of hole blocks so that we can later work backwards, and * instrument number of physical blocks. We don't simply use physical * blocks directly for instrumentation because this would break if we ever - * subsequently wrote to worker tape. + * subsequently wrote to the leader tape. * * Working backwards like this keeps our options open. If shared BufFiles * ever support being written to post-export, logtape.c can automatically |