Re: CREATE CAST requires immutable cast function?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE CAST requires immutable cast function?
Дата
Msg-id 16219.1031083780@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CREATE CAST requires immutable cast function?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I'm not wedded to it, I just modelled it after the SQL standard, but
> evidently the volatility levels are different in detail.  I would disallow
> volatile casts in any case.  There ought to be a minimal behavioral
> contract between creators and users of types.

Shrug ... ISTM the behavior of a type is whatever the type creator says
it should be.  Whether a volatile cast is a good idea is dubious
(I can't think of any good examples of one offhand) but I don't see the
argument for having the system restrict the type creator's choices.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Docs for v7.3 ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: possible vacuum improvement?