Re: [HACKERS] potential bug with query optimizer and functions

2009-07-27 Thread Robert Haas
On Mon, Jul 27, 2009 at 3:15 PM, Zach Conrad wrote: > While creating a function, I kept getting a large variance in runtime between > the raw query vs. using the function/prepared statement. After talking with > folks on #postgresql, specifically David Fetter, he thought I should mention > it he

[HACKERS] potential bug with query optimizer and functions

2009-07-27 Thread Zach Conrad
While creating a function, I kept getting a large variance in runtime between the raw query vs. using the function/prepared statement. After talking with folks on #postgresql, specifically David Fetter, he thought I should mention it here. VERSION: PostgreSQL 8.3.7 on i486-pc-linux-gnu, compile