Sort is actually PlanState? - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Sort is actually PlanState?
Date
Msg-id AANLkTimEhJ=ZR_HT1XciS8kGEsw17ViCGhZwGoEPtFfb@mail.gmail.com
Whole thread Raw
Responses Re: Sort is actually PlanState?
List pgsql-hackers
I wonder why SortState is a ScanState. As far as I know ScanState
means the node may need projection and/or qualification, or it scans
some relation, but Sort actually doesn't do such things. I also tried
to modify SortState as PlanState as in the attached patch and
regression test passed. Do I misunderstand ScanState?

Regards,

--
Hitoshi Harada

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PATCH] Custom code int(32|64) => text conversions out of performance reasons
Next
From: Tom Lane
Date:
Subject: Re: Sort is actually PlanState?