pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Wei Weng <wweng@kencast.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Is function atomic?
Date: Fri, 6 Jul 2001 18:13:37 +0200 (CEST)
Message-ID: <Pine.LNX.4.30.0107061811060.679-100000@peter.localdomain> (raw)
In-Reply-To: <994437701.16301.0.camel@Monet>

Wei Weng writes:

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

SQL statements issued by server-side functions operate with the same
transaction isolation semantics as "normal" SQL statements.  However,
whatever the function does outside the database may obviously have
different semantics.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter




view thread (11+ messages)  latest in thread

Message-ID: <Pine.LNX.4.30.0107061811060.679-100000@peter.localdomain>
Permalink:  ../Pine.LNX.4.30.0107061811060.679-100000@peter.localdomain/
Also on:    postgresql.org/message-id/Pine.LNX.4.30.0107061811060.679-100000@peter.localdomain

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: peter_e@gmx.net, wweng@kencast.com
  Subject: Re: Is function atomic?
  In-Reply-To: <Pine.LNX.4.30.0107061811060.679-100000@peter.localdomain>
  References: <994437701.16301.0.camel@Monet> <Pine.LNX.4.30.0107061811060.679-100000@peter.localdomain>

* 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