Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A13516325E1 for ; Wed, 26 May 2010 07:35:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 26797-04 for ; Wed, 26 May 2010 10:35:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from nlsmtpp1.infor.com (nlsmtpp1.infor.com [194.149.81.53]) by mail.postgresql.org (Postfix) with ESMTP id 74C69632432 for ; Wed, 26 May 2010 07:35:15 -0300 (ADT) X-SBRS: None Received: from unknown (HELO INHYWEXCAHT1.infor.com) ([10.91.32.58]) by mail.infor.com with ESMTP; 26 May 2010 12:36:04 +0200 Received: from INHYWEXMB2.infor.com ([fe80::f1b5:544:af95:5287]) by INHYWEXCAHT1.infor.com ([::1]) with mapi; Wed, 26 May 2010 16:05:11 +0530 From: Ravi Katkar To: "'pgsql-admin@postgresql.org'" Date: Wed, 26 May 2010 16:05:11 +0530 Subject: Transaction with in function Thread-Topic: Transaction with in function Thread-Index: Acr8jzr04SEqAxLiRyGFQ4pani65XwAL5Neg Message-ID: <46AC8D44F3AE1F4888F137837D0DF635072561999F@INHYWEXMB2.infor.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_46AC8D44F3AE1F4888F137837D0DF635072561999FINHYWEXMB2inf_" MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/250 X-Sequence-Number: 34723 --_000_46AC8D44F3AE1F4888F137837D0DF635072561999FINHYWEXMB2inf_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I know that postgresql does not support nested transactions, I looking for solution for commit, rollback with in function. May be using = the save point. I were to use save point in function , when it would get commit.? Thanks in advance . Regards Ravi Katkar --_000_46AC8D44F3AE1F4888F137837D0DF635072561999FINHYWEXMB2inf_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

I know that postgresql does not suppor= t nested transactions,

 

I looking for solution for commit, rollback with in function. May be using the sa= ve point.

 

I were to use save point in function , when it would get commit.?  

 

 

 

Thanks in advance .

 

Regards

Ravi K= atkar

 

 

 

 

--_000_46AC8D44F3AE1F4888F137837D0DF635072561999FINHYWEXMB2inf_--