CTE materializing sets?

From: Liam Caffrey <liam(dot)caffrey(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: CTE materializing sets?
Date: 2012-10-06 00:45:02
Message-ID: CAM3RZT7xOkZ+UAANhzGiQ+q6HALr5BzoWpYLXMKCx=B=dg3dXw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

If I run a CTE does that materialize the resulting data in the same (or a
similar) way as if I created a temp table and referred to that instead? Or
does the CTE keep the set in memory?

Regards

Liam

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Phoenix Kiula 2012-10-06 02:00:49 Re: [Pgbouncer-general] Again, problem with pgbouncer
Previous Message Leonardo Rame 2012-10-05 21:58:20 Re: pg_dump problem