Transactions within a function body - Mailing list pgsql-general

From Reg Me Please
Subject Transactions within a function body
Date
Msg-id 200810011754.01357.regmeplease@gmail.com
Whole thread Raw
Responses Re: Transactions within a function body
Re: Transactions within a function body
List pgsql-general
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.

Thanks.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_restore stalled ???
Next
From: "Gauthier, Dave"
Date:
Subject: Re: pg_restore stalled ???