Re: [BUGS] BUG #5872: Function call in SQL function executed only once

2011-02-08 Thread Tom Lane
"Rodolfo Campero" writes: > I stumbled upon a weird behavior of postgresql, I don't know if it's a bug > or not, but I find it counterintuitive: when then last statement of a SQL > function is a SELECT statement with calls another function, the call is > executed only once, regardless of the numbe

[BUGS] BUG #5872: Function call in SQL function executed only once

2011-02-08 Thread Rodolfo Campero
The following bug has been logged online: Bug reference: 5872 Logged by: Rodolfo Campero Email address: rodolfo.camp...@anachronics.com PostgreSQL version: 8.4.5 Operating system: Debian 6.0 - Linux 2.6.32-5-amd64 Description:Function call in SQL function executed onl