View Single Post

   
  #5 (permalink)  
Old 04-15-2008, 11:35 PM
Tom Lane
 
Posts: n/a
Default Re: PostGreSQL and recursive queries...

Gregory Stark <stark@enterprisedb.com> writes:
> I could imagine problems the planner would have to deal with though, such as
> what type is "bogon" in this query?


> WITH RECURSIVE x(bogon) AS (select bogon from x) select * from x;


Just a note --- that's not the planner's problem, either. Semantic
interpretation of the meaning of a query is supposed to be completed
during parse analysis.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote