pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rok Jaklič <rokj@rasca.net>
To: pasman pasmański <pasman.p@gmail.com>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: After insert trigger and select
Date: Wed, 16 Feb 2011 23:34:38 +0100
Message-ID: <4D5C50FE.90507@rasca.net> (raw)
In-Reply-To: <AANLkTinO-cYMC2KnT=Rk2iU=fcwJ=rSzdpM-Vfb1tmLe@mail.gmail.com>
References: <4D5C0569.5020402@rasca.net>
	<AANLkTinO-cYMC2KnT=Rk2iU=fcwJ=rSzdpM-Vfb1tmLe@mail.gmail.com>

  On 02/16/2011 08:46 PM, pasman pasmański wrote:
>> If I have after insert trigger on some table which updates some data in
>> that same table, will be the select statement from some other client
>> executed after all statements in that trigger?
>>
> select statement is fired before commit ?
> ------------
> pasman
For example let us say that trigger takes a long time to end. Are all 
statements in trigger executed before select from "outside" if select is 
called somewhere between executing of the trigger?




view thread (4+ messages)  latest in thread

Message-ID: <4D5C50FE.90507@rasca.net>
Permalink:  ../4D5C50FE.90507@rasca.net/
Also on:    postgresql.org/message-id/4D5C50FE.90507@rasca.net

 · 

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: rokj@rasca.net, pasman.p@gmail.com
  Subject: Re: After insert trigger and select
  In-Reply-To: <4D5C50FE.90507@rasca.net>

* 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