mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Fix typos and improve incremental sort comments
Author: Justin Pryzby, James Coleman Discussion: https://postgr.es/m/20200419023625.GP26953@telsasoft.com
This commit is contained in:
@@ -1428,11 +1428,11 @@ tuplesort_updatemax(Tuplesortstate *state)
|
||||
}
|
||||
|
||||
/*
|
||||
* Sort evicts data to the disk when it didn't manage to fit those data to
|
||||
* the main memory. This is why we assume space used on the disk to be
|
||||
* Sort evicts data to the disk when it wasn't able to fit that data into
|
||||
* main memory. This is why we assume space used on the disk to be
|
||||
* more important for tracking resource usage than space used in memory.
|
||||
* Note that amount of space occupied by some tuple set on the disk might
|
||||
* be less than amount of space occupied by the same tuple set in the
|
||||
* Note that the amount of space occupied by some tupleset on the disk might
|
||||
* be less than amount of space occupied by the same tupleset in
|
||||
* memory due to more compact representation.
|
||||
*/
|
||||
if ((isSpaceDisk && !state->isMaxSpaceDisk) ||
|
||||
|
||||
Reference in New Issue
Block a user