pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cris Carampa <cris119@operamail.com>
To: pgsql-sql@postgresql.org
Subject: transaction management in plpgsql functions
Date: Thu, 06 Nov 2003 10:24:56 +0100
Message-ID: <bod454$e2o$1@panco.nettuno.it> (raw)

It seems that transaction management statements (begin work...commit 
work) are not allowed into plpgsql functions. Is it true? If true, what 
happens if I put a DML statement into a function? Is it automatically 
commited every time the function executes? Is there no way to rollback 
the changes?

Kind regards,

-- 
Cris Carampa (spamto:cris119@operamail.com)

"Poveri fanatici comunisti, noglobal e affetti dalla sindrome
anti-microsoft" (gli utenti Linux secondo un poster di ICOD)




view thread (3+ messages)  latest in thread

Message-ID: <bod454$e2o$1@panco.nettuno.it>
Permalink:  ../bod454$e2o$1@panco.nettuno.it/
Also on:    postgresql.org/message-id/bod454$e2o$1@panco.nettuno.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cris119@operamail.com
  Subject: Re: transaction management in plpgsql functions
  In-Reply-To: <bod454$e2o$1@panco.nettuno.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox