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

Re: Selects query inside function must read commited data

From: "V i s h a l Kashyap (at) [Sai Hertz And Control Systems]" <sank89(at)sancharnet(dot)in>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Selects query inside function must read commited data
Date: 2004-01-25 16:31:45
Message-ID: 4013EF71.9080603@sancharnet.in (view raw or flat)
Thread:
Lists: pgsql-admin
Dear Oliver Elphick  ,

>>If I am not wrong PostgreSQL select statements works on committed data
>>thus the new
>>inserted data at #3 must not be available to sai_func_b() till #5
>>    
>>
>
>No.  All operations by a single transaction are visible inside the
>transaction. Therefore an encapsulated function can see anything already
>done in the whole transaction.  A function must be entirely inside a
>transaction and cannot start a transaction, so there can never be any
>problem about this.
>  
>
Loads of thanks  for the kind reply .
Would be greatefull if you kindly post some links/refrences to support 
your answer for the said.
Thanks one again .


-- 
Regards,
Vishal Kashyap

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
I Know you believe my words so logon to Jabber.org
and add vishalkashyap(at)jabber(dot)org to your roster.
                     OR
Seek Me at 264360076                                 
~*~*~*~*~*~*~*~*
I am usually called as Vishal Kashyap
but my Girlfriend calls me as Vishal CASH UP.
This is because others identify me because of my generosity
but my Girlfriend identify me because of my CASH.
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

In response to

Responses

pgsql-admin by date

Next:From: Chalrie SchaubmairDate: 2004-01-25 17:06:15
Subject: Re: Can't connect to phppgadmin
Previous:From: Oliver ElphickDate: 2004-01-25 16:15:34
Subject: Re: Selects query inside function must read commited data

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group