Re: Suggestions please: names for function cachability

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Suggestions please: names for function cachability
Дата
Msg-id Pine.LNX.4.30.0204031152470.684-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Suggestions please: names for function cachability attributes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> mlw <markw@mohawksoft.com> writes:
> > (1) const or constant
> > (2) cacheable
> > (3) volatile
>
> I was wondering about "const" for case 1, also.  I think there is some
> precedent for using "const" with this meaning in other programming
> languages.

I think the meaning of "const" tends to be "cannot change the result" --
which may actually make sense in SQL in a future life if you can pass
around table descriptors or cursor references.

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: ANALYZE after restore
Следующее
От: mlw
Дата:
Сообщение: Re: Suggestions please: names for function