]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix missing outfuncs.c support for IncrementalSortPath.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Nov 2020 21:32:56 +0000 (16:32 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Nov 2020 21:33:09 +0000 (16:33 -0500)
commita095e04f63a47ef02ec98577cc1fc4e4542e5ddd
tree5d5339b7ffe8f3f072df972d089d24225c11b2f7
parent3fe0e7c3fa27de80419de9ce66be2767d2ddae57
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
src/backend/nodes/outfuncs.c
src/backend/optimizer/README
src/backend/optimizer/util/pathnode.c
src/include/nodes/pathnodes.h
src/include/optimizer/pathnode.h