Обсуждение: ANSI SQL-99 SYNTAX and "WITH"
Good morning,afternoon, and evening Everyone,
My research into PostgreSQL documentation has yet to yeild any information about PostgreSQL's support of ANSI SQL-99 syntax, and in particular, the "WITH" clause - which if I understand correctly, allows recursive joins in simple syntax without the use of cursors and/or otherwise klugey SQL.
As you may have guessed, I hope PostgreSQL currently supports the "WITH" clause syntax or, will at least support it imminently.
Any knowledge on the matter is greatly appreciated :)
Rein
> Good morning,afternoon, and evening Everyone, > > My research into PostgreSQL documentation has yet to yeild any information about PostgreSQL's support of ANSI SQL-99 syntax,and in particular, the "WITH" clause - which if I understand correctly, allows recursive joins in simple syntax withoutthe use of cursors and/or otherwise klugey SQL. > > As you may have guessed, I hope PostgreSQL currently supports the "WITH" clause syntax or, will at least support it imminently. No, PostgreSQL does not support the WITH clause. I wanted to use the WITH clause in an assignment, but I ended up using a view. Maybe that will work for you. Yasir
On Fri, Jun 04, 2004 at 15:37:41 -0400, Rein Petersen <rp2969@hotmail.com> wrote: > My research into PostgreSQL documentation has yet to yeild any information about PostgreSQL's support of ANSI SQL-99 syntax,and in particular, the "WITH" clause - which if I understand correctly, allows recursive joins in simple syntax withoutthe use of cursors and/or otherwise klugey SQL. > > As you may have guessed, I hope PostgreSQL currently supports the "WITH" clause syntax or, will at least support it imminently. Postgres doesn't currently support that. Someone was working on it a while back, but I haven't heard anything lately, so I don't know if some version of it is going to be in the next release.
Bruno Wolff III <bruno@wolff.to> writes: > Rein Petersen <rp2969@hotmail.com> wrote: >> As you may have guessed, I hope PostgreSQL currently supports the >> "WITH" clause syntax or, will at least support it imminently. > Postgres doesn't currently support that. Someone was working on it a while > back, but I haven't heard anything lately, so I don't know if some version > of it is going to be in the next release. Andrew Overholt was working on it awhile back. I've been meaning to pick up the pieces and see what I could do with it, but at this point it's a pretty safe bet that it won't make 7.5. Maybe next time. regards, tom lane