Re: Row versions and indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jack Orenstein" <jack(dot)orenstein(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Row versions and indexes
Date: 2006-09-29 03:13:24
Message-ID: 8790.1159499604@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jack Orenstein" <jack(dot)orenstein(at)gmail(dot)com> writes:
> I understand that updating a row of t generates a new row version, and
> that different transactions may see different versions of the same
> row.
> How does versioning work for the index?

Each row version has its own index entry pointing to it. So an update
is not a lot different from an insert --- they both generate a full set
of index entries.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-09-29 03:51:01 Re: Expected accuracy of planner statistics
Previous Message Adnan DURSUN 2006-09-29 02:17:30 Re: Can i see server SQL commands ?