Re: Transactions in rules..

Поиск
Список
Период
Сортировка
Искать
От
Alex Pilosov
Тема
Re: Transactions in rules..
Дата
Msg-id
Pine.BSO.4.10.10107091208560.13870-100000@spider.pilosoft.com
Ответ на
Transactions in rules.. (Fabrizio Mazzoni)
Список
Дерево обсуждения
Transactions in rules.. "Fabrizio Mazzoni" <fabrizio@macron.com>
Re: Transactions in rules.. Jan Wieck <JanWieck@Yahoo.com>
Re: Transactions in rules.. Alex Pilosov <alex@pilosoft.com>
Re: Transactions in rules.. Peter Eisentraut <peter_e@gmx.net>
Cannot do this, as currently there is no support for nested transactions.


On Mon, 9 Jul 2001, Fabrizio Mazzoni wrote:

> Can i use transactions in rules??
> I was trying something like:
> 
> create rule x_test as
> on insert to view1
> do instead
> (
> 	begin;
> 	insert into test1 values (new.a,new.b);
> 	insert into test2 values (new.c,new.d);
> 	commit;
> );
> 
> But when i give this command in psql i always get an error..
> 
> Regards
> 
> fabrizio@macrongolf.com
> http://macrongolf.com
> http://eteampoint.com
> http://macron.com
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
> 
> 

В списке pgsql-general по дате отправления
От: Steve Wampler
Дата:
От: Peter Eisentraut
Дата:
Сообщение: Re: Transactions in rules..
FAQ