Re: Question about indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Question about indexes
Date
Msg-id 29815.1075243916@sss.pgh.pa.us
Whole thread Raw
In response to Question about indexes  (Greg Stark <gsstark@mit.edu>)
Responses Re: Question about indexes
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> How feasible would it be to have a btree index on ctid?

Why would you want one?  Direct access by ctid beats out an index lookup
every time.  In any case, vacuum and friends would break such an index
entirely.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Another optimizer question
Next
From: Greg Stark
Date:
Subject: Re: Question about indexes