Re: [SQL] Problem with looping on a table function result

2003-08-04 Thread Christoph Haller
> > I've met the following problem. > I had successfully written a function divide_into_days(timestamp, timestamp) > which returns setof (timestamp, timestamp) pairs - a list of days the > given interval is divided into. > > What I want is to use each record from resultset to pass to another > func

[SQL] Problem with looping on a table function result

2003-07-31 Thread Alexander M. Pravking
I've met the following problem. I had successfully written a function divide_into_days(timestamp, timestamp) which returns setof (timestamp, timestamp) pairs - a list of days the given interval is divided into. What I want is to use each record from resultset to pass to another function, something