pgsql: Fix missing outfuncs.c support for IncrementalSortPath.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix missing outfuncs.c support for IncrementalSortPath.
Date: 2020-11-30 21:33:54
Message-ID: E1kjqny-0005IB-Pq@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a095e04f63a47ef02ec98577cc1fc4e4542e5ddd

Modified Files
--------------
src/backend/nodes/outfuncs.c | 23 +++++++++++++++++++++--
src/backend/optimizer/README | 1 +
src/backend/optimizer/util/pathnode.c | 4 ++--
src/include/nodes/pathnodes.h | 5 ++++-
src/include/optimizer/pathnode.h | 12 ++++++------
5 files changed, 34 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2020-12-01 02:22:13 pgsql: Free disk space for dropped relations on commit.
Previous Message Alvaro Herrera 2020-11-30 21:26:16 pgsql: Document concurrent indexes waiting on each other