Re: [HACKERS] Stable functions problem

2004-12-20 Thread Gaetano Mendola
Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: I'm having a bounce of errors because IMMUTABLE and STABLE attributes for some of my functions. Let me explain with an example, Hmm. This particular example is a bug in exec_eval_simple_expr() ... if we're going to bypass SPI then we'd b

Re: [HACKERS] Stable functions problem

2004-12-19 Thread Tom Lane
Gaetano Mendola <[EMAIL PROTECTED]> writes: > I'm having a bounce of errors because IMMUTABLE and STABLE > attributes for some of my functions. Let me explain with an example, Hmm. This particular example is a bug in exec_eval_simple_expr() ... if we're going to bypass SPI then we'd better do the

[HACKERS] Stable functions problem

2004-12-19 Thread Gaetano Mendola
Hi all, after several weeks away I downloaded today the 8.0rc1 and I tested it with our application. I'm having a bounce of errors because IMMUTABLE and STABLE attributes for some of my functions. Let me explain with an example, what I do is ( plpgsql ) my_id_user = sp_id_user( a_login ); IF my_i