Does postgresql index update on inserting new row?

user2104778 picture user2104778 · Jul 7, 2013 · Viewed 10k times · Source

Sorry if this is a dumb question but do i need to reindex my table every time i insert rows, or does the new row get indexed when added?

Answer

a_horse_with_no_name picture a_horse_with_no_name · Jul 7, 2013

From the manual

Once an index is created, no further intervention is required: the system will update the index when the table is modified