Peter Eisentraut <[EMAIL PROTECTED]> writes:
> Basically I'd like to write
> CREATE FUNCTION name (args, ...) RETURNS type
> AS '...'
> LANGUAGE foo
> STATIC
> IMPLICIT CAST
> (where everything after RETURNS can be in random order).
No strong objection here; but you'
Tom Lane writes:
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
> > Tom Lane writes:
> >> case 1: "immutable"
> >> case 2: "mutable", or perhaps "stable"
> >> case 3: "volatile"
>
> > Since they've changed anyway, how about dropping the silly "is" in front
> > of the names?
>
> "volatile" would c
Peter Eisentraut <[EMAIL PROTECTED]> writes:
> Tom Lane writes:
>> case 1: "immutable"
>> case 2: "mutable", or perhaps "stable"
>> case 3: "volatile"
> Since they've changed anyway, how about dropping the silly "is" in front
> of the names?
"volatile" would conflict with a C keyword. Possibly
Tom Lane writes:
> case 1: "immutable"
> case 2: "mutable", or perhaps "stable"
> case 3: "volatile"
Since they've changed anyway, how about dropping the silly "is" in front
of the names?
--
Peter Eisentraut [EMAIL PROTECTED]
---(end of broadcast)---
Tom Lane writes:
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
> > It could also be considered deterministic, strict, cacheable,
> > mathematically sensible, real, pleasant, or good. ;-)
>
> > Out of those, I believe "const" is the worst term, because saying "sin(x)
> > is a constant function" s
It occurs to me that we also need a better term for the overall concept.
"cacheability" has misled at least two people (that I can recall) into
thinking that we maintain some kind of function result cache --- which
is not true, and if it were true we'd need the term "cacheable" for
control paramet
Peter Eisentraut <[EMAIL PROTECTED]> writes:
> It could also be considered deterministic, strict, cacheable,
> mathematically sensible, real, pleasant, or good. ;-)
> Out of those, I believe "const" is the worst term, because saying "sin(x)
> is a constant function" sounds pretty wrong.
Yeah, th
mlw writes:
> A function, such as sin(x) could be considered constant for the result based on
> value 'x'
It could also be considered deterministic, strict, cacheable,
mathematically sensible, real, pleasant, or good. ;-)
Out of those, I believe "const" is the worst term, because saying "sin(x)