Re: Minor point about contrib/xml2 functions "IMMUTABLE"

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Minor point about contrib/xml2 functions "IMMUTABLE"
Дата
Msg-id 1129176384.8718.67.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Minor point about contrib/xml2 functions "IMMUTABLE" marking  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Minor point about contrib/xml2 functions "IMMUTABLE" marking
Список pgsql-hackers
On Wed, 2005-12-10 at 23:46 -0400, Bruce Momjian wrote:
> Agreed.  I have changed them both to stable.  I think xslt_process()
> should be stable because it is unlikely you would want a URL's contents
> to change inside a transaction

Why is it "unlikely"?

If a function's return value for a particular set of arguments could
change within a single table scan, the function is volatile -- ISTM
xslt_process() clearly falls within that definition.

-Neil




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Darwin compile fixes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Darwin compile fixes