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

Re: autonomous transactions

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Neil Conway <neilc(at)samurai(dot)com>, "Roberts, Jon" <Jon(dot)Roberts(at)asurion(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: autonomous transactions
Date: 2008-01-30 17:04:28
Message-ID: 47A0AE1C.8090200@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-hackers
All,

> 
> Added to TODO:
> 
> * Add anonymous transactions
> 
>   http://archives.postgresql.org/pgsql-hackers/2008-01/msg00893.php
>

IMHO, autonomous transactions should be part of a package with a 
spec-compliant CREATE PROCEDURE statement.    That is, the difference 
between PROCEDURES and FUNCTIONS would be that:

-- PROCs have autonomous transactions
-- PROCs have to be excuted with CALL, and can't go in a query
-- PROCs don't necessarily return a result

--Josh Berkus

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2008-01-30 17:11:14
Subject: Re: autonomous transactions
Previous:From: Simon RiggsDate: 2008-01-30 17:02:31
Subject: Re: Truncate Triggers

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