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

Transactions within a function body

From: Reg Me Please <regmeplease(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Transactions within a function body
Date: 2008-10-01 15:54:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-hackers
Hi all.

Is there a way to have (sub)transactions within a function body?
I'd like to execute some code (a transaction!) inside a function and later 
decide whether that transaction is to be committed or not.



pgsql-hackers by date

Next:From: Jonah H. HarrisDate: 2008-10-01 15:54:17
Subject: Re: Block-level CRC checks
Previous:From: pgsqlDate: 2008-10-01 15:37:35
Subject: Re: Block-level CRC checks

pgsql-general by date

Next:From: Gauthier, DaveDate: 2008-10-01 16:04:14
Subject: Re: pg_restore stalled ???
Previous:From: Tom LaneDate: 2008-10-01 15:52:14
Subject: Re: pg_restore stalled ???

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