mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Fix missing outfuncs.c support for IncrementalSortPath.
For debugging purposes, Path nodes are supposed to have outfuncs support, but this was overlooked in the original incremental sort patch. While at it, clean up a couple other minor oversights, as well as bizarre choice of return type for create_incremental_sort_path(). (All the existing callers just cast it to "Path *" immediately, so they don't care, but some future caller might care.) outfuncs.c fix by Zhijie Hou, the rest by me Discussion: https://postgr.es/m/324c4d81d8134117972a5b1f6cdf9560@G08CNEXMBPEKD05.g08.fujitsu.local
This commit is contained in:
@ -1655,7 +1655,10 @@ typedef struct SortPath
|
||||
} SortPath;
|
||||
|
||||
/*
|
||||
* IncrementalSortPath
|
||||
* IncrementalSortPath represents an incremental sort step
|
||||
*
|
||||
* This is like a regular sort, except some leading key columns are assumed
|
||||
* to be ordered already.
|
||||
*/
|
||||
typedef struct IncrementalSortPath
|
||||
{
|
||||
|
Reference in New Issue
Block a user