Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-02-04 Thread Robert Haas
On Wed, Feb 4, 2009 at 1:32 PM, Bruce Momjian wrote: > Robert Haas wrote: >> > 2009/1/10 Tom Lane : >> >> Bruce Momjian writes: >> >>> Uh, is this ready to be applied? >> >> >> >> I don't think any consensus has been reached on changing this behavior. >> > >> > I thing, so this is bug - RETURN Q

Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-02-04 Thread Bruce Momjian
Robert Haas wrote: > > 2009/1/10 Tom Lane : > >> Bruce Momjian writes: > >>> Uh, is this ready to be applied? > >> > >> I don't think any consensus has been reached on changing this behavior. > > > > I thing, so this is bug - RETURN QUERY has to supply FOR SELECT LOOP > > RETURN NEXT pattern. > >

Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-01-10 Thread Pavel Stehule
2009/1/10 Heikki Linnakangas : > Pavel Stehule wrote: >> >> My first patch expected so RETURN QUERY is final statement, so I don't >> solve FOUND variable, but Heikki changed this behave. > > Me? I don't recall doing anything related to this. > I have to look to archive, maybe Peter. Pavel > --

Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-01-10 Thread Heikki Linnakangas
Pavel Stehule wrote: My first patch expected so RETURN QUERY is final statement, so I don't solve FOUND variable, but Heikki changed this behave. Me? I don't recall doing anything related to this. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-bugs mail

Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-01-10 Thread Robert Haas
> 2009/1/10 Tom Lane : >> Bruce Momjian writes: >>> Uh, is this ready to be applied? >> >> I don't think any consensus has been reached on changing this behavior. > > I thing, so this is bug - RETURN QUERY has to supply FOR SELECT LOOP > RETURN NEXT pattern. > > My first patch expected so RETURN

Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-01-10 Thread Pavel Stehule
Hello 2009/1/10 Tom Lane : > Bruce Momjian writes: >> Uh, is this ready to be applied? > > I don't think any consensus has been reached on changing this behavior. > >regards, tom lane > I thing, so this is bug - RETURN QUERY has to supply FOR SELECT LOOP RETURN NEXT patt

Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-01-09 Thread Tom Lane
Bruce Momjian writes: > Uh, is this ready to be applied? I don't think any consensus has been reached on changing this behavior. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql

Re: [HACKERS] [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY

2009-01-09 Thread Bruce Momjian
Uh, is this ready to be applied? --- Pavel Stehule wrote: > I am sending patch, that adds FOUND and GET DIAGNOSTICS support for > RETURN QUERY statement > > Regards > Pavel Stehule > > > > 2008/11/10 Andrew Gierth : > >>