Re: Row versions and indexes - Mailing list pgsql-general

From Tom Lane
Subject Re: Row versions and indexes
Date
Msg-id 8790.1159499604@sss.pgh.pa.us
Whole thread Raw
In response to Row versions and indexes  ("Jack Orenstein" <jack.orenstein@gmail.com>)
List pgsql-general
"Jack Orenstein" <jack.orenstein@gmail.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

pgsql-general by date:

Previous
From: "Adnan DURSUN"
Date:
Subject: Re: Can i see server SQL commands ?
Next
From: Tom Lane
Date:
Subject: Re: Expected accuracy of planner statistics