Re: deleting rows in specific order

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: deleting rows in specific order
Дата
Msg-id 20061016175110.GA15534@wolff.to
обсуждение исходный текст
Ответ на Re: deleting rows in specific order  (Daniel Drotos <drdani@mazsola.iit.uni-miskolc.hu>)
Список pgsql-sql
On Wed, Oct 11, 2006 at 21:31:37 +0200, Daniel Drotos <drdani@mazsola.iit.uni-miskolc.hu> wrote:
> On Wed, 11 Oct 2006, Markus Schaber wrote:
> 
> After inserting new rows into this table, very old rows are going to 
> be deleted. But value of deleted info should be remembered somehow, so 
> there is a trigger on delete which keeps sum of the deleted info 
> values in a separate table. This makes the application happy.

You need to be careful if two of these can run at the same time if you
are adding the values to prexisting sums otherwise you might end up summing
just the values from one of the delete sets.


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

Предыдущее
От: "Penchalaiah P."
Дата:
Сообщение: hi i want help on levels
Следующее
От: chrisj
Дата:
Сообщение: Re: Assigning a timestamp without timezone to a timestamp