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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: returned value from SQL statement



Alain Roger wrote:
> the purpose here, it is to solve my problem with a transaction inside a function.

You cannot handle transactions inside a function (apart from using EXCEPTION blocks).
A PostgreSQL function is always executed in a single transaction.

All SQL statements you issue from within a function are in that same transaction.

Yours,
Laurenz Albe



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group