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

non-recursive WITH clause support

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: non-recursive WITH clause support
Date: 2007-03-09 17:37:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Here's an updated patch that fixes the bug I had. This is now functional basic
non-recursive WITH clause support.

It's a pretty short simple patch as is; it just directly inlines any WITH
clauses as if they had been written as subqueries. We'll have to do something
much more clever to get recursive queries to work but for non-recursive
queries that's sufficient.


postgres=# with a as (select 1 as x) select * from (select * from a) as x;
(1 row)

  Gregory Stark


pgsql-patches by date

Next:From: Simon RiggsDate: 2007-03-09 19:24:13
Subject: scan_recycle_buffers
Previous:From: Gregory StarkDate: 2007-03-09 15:18:24
Subject: Updated packed varlena patch

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