Re: Views- Advantages and Disadvantages

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: Views- Advantages and Disadvantages
Дата
Msg-id 464422F5.3050007@magproductions.nl
обсуждение исходный текст
Ответ на Re: Views- Advantages and Disadvantages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> Ron Johnson <ron.l.johnson@cox.net> writes:
>> On 05/10/07 21:24, Tom Lane wrote:
>>> My instinctive CS-major reply to that is "only if you've found a
>>> solution to the halting problem".  However, it's possible that we could
>>> detect this case for a useful subset of real-world functions ... not
>>> sure offhand what could be covered.
>
>> If there are no INSERT, UPDATE or DELETE statements in the function?

And no EXECUTE or PERFORM statements probably, or you'd have to
determine if the succeeding string might evaluate to INSERT, UPDATE or
DELETE.

And of course DDL statements would be out of the question too...

> Nor any function calls ... which leaves about nothing ...

Wouldn't that only be the case if those were volatile?

--
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
   7500 AK Enschede

// Integrate Your World //

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

Предыдущее
От: anhtin
Дата:
Сообщение: Re: backup and restore
Следующее
От: Dave Page
Дата:
Сообщение: Re: Windows installation; why is PL/python shown but disabled?