Re: [HACKERS] parameter info?

2013-02-01 Thread Andrew Dunstan
On 01/31/2013 11:17 PM, Tom Lane wrote: Andrew Dunstan writes: What's the best way for me to find out if a given parameter of a function is a constant? The context is that it's expensive to process, and in most cases will in fact be a constant, so if it is in fact a constant I'd like to proces

Re: [HACKERS] parameter info?

2013-01-31 Thread Tom Lane
Andrew Dunstan writes: > What's the best way for me to find out if a given parameter of a > function is a constant? The context is that it's expensive to process, > and in most cases will in fact be a constant, so if it is in fact a > constant I'd like to process it once and stash the results.

Re: [HACKERS] parameter info?

2013-01-31 Thread Pavel Stehule
hello 2013/2/1 Andrew Dunstan : > > What's the best way for me to find out if a given parameter of a function is > a constant? The context is that it's expensive to process, and in most cases > will in fact be a constant, so if it is in fact a constant I'd like to > process it once and stash the r

[HACKERS] parameter info?

2013-01-31 Thread Andrew Dunstan
What's the best way for me to find out if a given parameter of a function is a constant? The context is that it's expensive to process, and in most cases will in fact be a constant, so if it is in fact a constant I'd like to process it once and stash the results. cheers andrew -- Sent via