Re: Extended customizing, SQL functions,

Поиск
Список
Период
Сортировка
От pgsql@mohawksoft.com
Тема Re: Extended customizing, SQL functions,
Дата
Msg-id 16595.24.91.171.78.1085802877.squirrel@mail.mohawksoft.com
обсуждение исходный текст
Ответ на Re: Extended customizing, SQL functions,  (Jonathan Gardner <jgardner@jonathangardner.net>)
Список pgsql-hackers
> On Friday 28 May 2004 04:08 pm, pgsql@mohawksoft.com wrote:
>>
>> No transactions.
>>
>
> Then it won't work. Let's say we take your example. The variable "s" is
> supposed to be the sum of a column in a table.
>
> When someone modifies the data in the table, when is "s" adjusted? What if
> it is modified but the transaction is aborted? Who sees the "correct"
> value
> of "s" at any point in time?

Like I said, it is a *bad* idea. No one is denying this, it "breaks" all
the rules, but "with care" I can see a limited, but valuable function.

>
> --
> Jonathan Gardner
> jgardner@jonathangardner.net
>



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: temp tables broken in CVS HEAD?
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: temp tables broken in CVS HEAD?