Skip site navigation (1) Skip section navigation (2)

...Roll Back issue in PGSQL..

From: Deepak <deepakdevan(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org(dot)
Subject: ...Roll Back issue in PGSQL..
Date: 2008-06-20 07:40:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I am trying to create a TRIGGER function,that populates values to another
table upon inserting a value into a table. The issue is,if there is a
exception(in Table 2) everything gets rolled back including Table1.I dont
want this to happen.i want the value of table1 to stay.
I tried "try....except" and introduced SAVEPOINT.But resulted in runtime

Can anyone please help me out



pgsql-hackers by date

Next:From: Thomas LeeDate: 2008-06-20 09:36:02
Subject: Re: Backend Stats Enhancement Request
Previous:From: SureshDate: 2008-06-20 06:11:47
Subject: Doubt in index subplan query

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group