Question about HoT updates and conditional indexes - Mailing list pgsql-general

From Maxim Boguk
Subject Question about HoT updates and conditional indexes
Date
Msg-id CAK-MWwQJcu7httRK=iM5_ESE23kJr=3d7UdcMgz_7egQsjU+PA@mail.gmail.com
Whole thread Raw
List pgsql-general
Lets assume I have a table with an index defined as:
create index test_key on test_table(mtime) where status=1;

Will be update such as:
update test_table set mtime=NOW() where id=10;
threated as HOT update if  the entry with id=10 have status=0 ?

That update seems valid one for using HOT, however in practice it seems use the full update way.


--
Maxim Boguk
Senior Postgresql DBA.

Phone RU: +7 910 405 4718
Phone AU: +61 45 218 5678

Skype: maxim.boguk
Jabber: maxim.boguk@gmail.com

LinkedIn profile: http://nz.linkedin.com/in/maximboguk
If they can send one man to the moon... why can't they send them all?

МойКруг: http://mboguk.moikrug.ru/
Сила солому ломит, но не все в нашей жизни - солома, да и сила далеко не все.

pgsql-general by date:

Previous
From: joe.conway@credativ.com
Date:
Subject: PGDay.SoCal @ SCALE 10X
Next
From: Craig Ringer
Date:
Subject: Re: Having Issue Getting the Postgresql Service to Start