Re: [SQL] immutable function calling stable function

2004-07-21 Thread Tom Lane
Markus Bertheau <[EMAIL PROTECTED]> writes: > shouldn't it be illegal for an immutable function to call a stable one? No, because that's the standard hack for getting around it when you wish to call a stable function in what you know to be a "safe" way. If you look in the archives you'll find cas

Re: [SQL] immutable function calling stable function

2004-07-21 Thread Stephan Szabo
On Wed, 21 Jul 2004, Markus Bertheau wrote: > shouldn't it be illegal for an immutable function to call a stable one? It's expected that the function's creator is responsible for properly marking its stability. This allows some flexibility when you know more than the system does (for example, a

[SQL] immutable function calling stable function

2004-07-21 Thread Markus Bertheau
Hi, shouldn't it be illegal for an immutable function to call a stable one? -- Markus Bertheau <[EMAIL PROTECTED]> ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EM