Re: [GENERAL] Return Next and Return Query

2009-12-23 Thread Pavel Stehule
2009/12/23 Wappler, Robert : > Hello, > > I’m not quite sure, what’s the difference between RETURN NEXT and RETURN > QUERY. > > > > From the documentation (Sec. 38.6) RETURN NEXT returns a table and in my > understanding with each execution a different table. it is wrong. > > RETURN QUERY appends

[GENERAL] Return Next and Return Query

2009-12-23 Thread Wappler, Robert
Hello, I'm not quite sure, what's the difference between RETURN NEXT and RETURN QUERY. >From the documentation (Sec. 38.6) RETURN NEXT returns a table and in my understanding with each execution a different table. RETURN QUERY appends a result set of a query to the function's result set, i.e.