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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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