Re: Performance penalty when using WITH - Mailing list pgsql-performance

From Tom Lane
Subject Re: Performance penalty when using WITH
Date
Msg-id 28960.1311961227@sss.pgh.pa.us
Whole thread Raw
In response to Performance penalty when using WITH  (Li Jin <ljin@tripadvisor.com>)
List pgsql-performance
Li Jin <ljin@tripadvisor.com> writes:
> Anyone knows why the planner is doing this?

WITH is an optimization fence.  This is intentional and documented.

            regards, tom lane

pgsql-performance by date:

Previous
From: shailesh singh
Date:
Subject: issue related to logging facility of postgres
Next
From: Scott Marlowe
Date:
Subject: Re: heavy load-high cpu itilization