Re: Incorrect behavior with CE and ORDER BY - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Incorrect behavior with CE and ORDER BY
Date
Msg-id 453E516F.1070506@commandprompt.com
Whole thread Raw
In response to Re: Incorrect behavior with CE and ORDER BY  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Incorrect behavior with CE and ORDER BY
List pgsql-hackers
Tom Lane wrote:
> "Joshua D. Drake" <jd@commandprompt.com> writes:
>> We have a problem with CE that I want to verify is either expected
>> behavior, a bug or something else :).
> 
> Uh, what's your problem exactly?  The example only seems to demonstrate
> that if you don't ask for a sort, you don't get one.

Sorry. The problem is, if I ask for an ORDER BY it scans all partitions
versus only scanning the partition that has the data in it.

Sincerely,

Joshua D. Drake


> 
>             regards, tom lane
> 


-- 
     === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997            http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate



pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: New CRC algorithm: Slicing by 8
Next
From: Alvaro Herrera
Date:
Subject: Re: Incorrect behavior with CE and ORDER BY