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

Re: About the simple_heap_update function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "rupesh bajaj" <rupesh(dot)bajaj(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: About the simple_heap_update function
Date: 2007-04-26 20:27:15
Message-ID: 6623.1177619235@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"rupesh bajaj" <rupesh(dot)bajaj(at)gmail(dot)com> writes:
> I try to update a tuple in pg_attribute table by using the function
> simple_heap_update while somequery processing is going on. But when I use to
> see the value of that tuple(just updated) once again by SearchSysCache
> function in the same query processing, I am not able to see the updated
> values. Can you please tell me what is the reason. Or what should i do to
> make the updation visible.

You'd need a CommandCounterIncrement() ...

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Neil ConwayDate: 2007-04-26 22:07:07
Subject: Re: row-level stats and last analyze time
Previous:From: Tom LaneDate: 2007-04-26 19:42:58
Subject: Re: [BUGS] BUG #3245: PANIC: failed to re-find shared lock object

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