From: Poul L. Christiansen <poulc@cs.auc.dk>
To: pgsql-sql@postgresql.org
Cc: Keith Wong <keith@e-magine.com.au>
Subject: Re: Transaction isolation level for plpgsql
Date: Sat, 30 Sep 2000 12:08:56 +0100
Message-ID: <39D5C9C8.9121894E@cs.auc.dk> (raw)
References: <4.3.2.7.0.20000930114452.00b97698@mail.e-magine.com.au>
Use the command "\h set" and you'll see the parameters.
test=# \h set
Command: SET
Description: Set run-time parameters for session
Syntax:
SET variable { TO | = } { value | 'value' | DEFAULT }
SET CONSTRAINTS {ALL | constraintlist} mode
SET TIME ZONE { 'timezone' | LOCAL | DEFAULT }
SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE }
test=# show transaction isolation level;
NOTICE: TRANSACTION ISOLATION LEVEL is READ COMMITTED
SHOW VARIABLE
test=#
HTH,
Poul L. Christiansen
Keith Wong wrote:
>
> Hi all,
>
> Does anybody know the transaction isolation level default when a plpgsql
> stored procedure is called?
> Is it possible to set it? Or is this controlled by SPI?
>
> Cheers,
> Keith.
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: poulc@cs.auc.dk, keith@e-magine.com.au
Subject: Re: Transaction isolation level for plpgsql
In-Reply-To: <39D5C9C8.9121894E@cs.auc.dk>
References: <4.3.2.7.0.20000930114452.00b97698@mail.e-magine.com.au> <39D5C9C8.9121894E@cs.auc.dk>
* 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