[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [HACKERS] Indexing dead tuples
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2005-08-31 23:06:25
Message-ID: 5483.1125529585 () sss ! pgh ! pa ! us
[Download RAW message or body]
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> On 2005-08-31, Simon Riggs <simon@2ndquadrant.com> wrote:
>> During CREATE INDEX we include all tuples, even if they are already dead
>> when we build an index.
>>
>> What purpose does this serve?
>>
>> A pre-existing transaction can't see the index,
> Yes, it can; the catalog is read in SnapshotNow rather than in the query
> snapshot.
In fact, it had better be able to, since once the CREATE INDEX commits,
pre-existing xacts are responsible to insert index entries for anything
they insert into the table.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic