ANSI SQL-99 SYNTAX and "WITH"
ANSI SQL-99 SYNTAX and "WITH"
От:
"Rein Petersen" <rp2969@hotmail.com>
Дата:
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
Re: ANSI SQL-99 SYNTAX and "WITH"
От:
Yasir Malik <ymalik@cs.stevens-tech.edu>
Дата:
> 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. 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
Re: ANSI SQL-99 SYNTAX and "WITH"
От:
Bruno Wolff III <bruno@wolff.to>
Дата:
On Fri, Jun 04, 2004 at 15:37:41 -0400, Rein Petersen 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 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. 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.
Re: ANSI SQL-99 SYNTAX and "WITH"
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruno Wolff III writes: > Rein Petersen 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