Re: [BUGS] BUG #4902: Subquery in VALUES referencing a CTE

2009-07-05 Thread Tom Lane
"Marko Tiikkaja" writes: > While playing around with common table expressions, I found this: > => with cte(foo) as ( values(0) ) values((select foo from cte)); > ERROR: XX000: SubPlan found with no parent plan Oh, interesting, thanks for the bug report! > In src/backend/executor/nodeValuesscan

[BUGS] BUG #4902: Subquery in VALUES referencing a CTE

2009-07-05 Thread Marko Tiikkaja
The following bug has been logged online: Bug reference: 4902 Logged by: Marko Tiikkaja Email address: marko.tiikk...@cs.helsinki.fi PostgreSQL version: 8.4.0 Operating system: Linux Description:Subquery in VALUES referencing a CTE Details: While playing around with