Re: CREATE CAST requires immutable cast function?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: CREATE CAST requires immutable cast function?
Дата
Msg-id Pine.LNX.4.44.0209031900390.1157-100000@localhost.localdomain
обсуждение исходный текст
Ответ на CREATE CAST requires immutable cast function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: CREATE CAST requires immutable cast function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> Perhaps there's a case for prohibiting volatile casts (as opposed to
> stable ones), but I don't really see it.  I'd prefer to just remove
> this restriction.  Comments?

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.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Memory management question
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Docs for v7.3 ...