Skip site navigation (1) Skip section navigation (2)

Sort is actually PlanState?

From: Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Sort is actually PlanState?
Date: 2010-11-02 00:55:47
Message-ID: AANLkTimEhJ=ZR_HT1XciS8kGEsw17ViCGhZwGoEPtFfb@mail.gmail.com (view raw or flat)
Thread:
Lists: 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: sort-plan.20101102.patch
Description: application/octet-stream (4.6 KB)

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-11-02 01:06:22
Subject: Re: Sort is actually PlanState?
Previous:From: Andres FreundDate: 2010-11-02 00:44:29
Subject: Re: [PATCH] Custom code int(32|64) => text conversions out of performance reasons

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group