pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Wei Weng <wweng@kencast.com>
To: pgsql-sql@postgresql.org
Subject: Re: Is function atomic?
Date: Fri, 6 Jul 2001 17:44:22 +0100
Message-ID: <003601c1063a$ea739e00$1001a8c0@archonet.com> (raw)
References: <994437701.16301.0.camel@Monet>

From: "Wei Weng" <wweng@kencast.com>

> If it is not, is it possible to acquire a lock on a row ? how about a
> lock on a table?

All functions take place within a transaction, but since PG doesn't support
nested transactions yet you can't roll back the effects of a nested
function.

- Richard Huxton




view thread (11+ messages)  latest in thread

Message-ID: <003601c1063a$ea739e00$1001a8c0@archonet.com>
Permalink:  ../003601c1063a$ea739e00$1001a8c0@archonet.com/
Also on:    postgresql.org/message-id/003601c1063a$ea739e00$1001a8c0@archonet.com

 · 

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: dev@archonet.com, wweng@kencast.com
  Subject: Re: Is function atomic?
  In-Reply-To: <003601c1063a$ea739e00$1001a8c0@archonet.com>

* 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