Re: Ad Hoc Indexes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Justin <justin(at)emproshunts(dot)com>
Subject: Re: Ad Hoc Indexes
Date: 2008-02-18 20:09:34
Message-ID: 200802182109.35449.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Justin wrote:
> Now for my question It does not appear PostgreSQL does not have an Ad
> Hoc Indexes ability where the Query planner will create an in memory
> index based on the Select, Update, Insert or Delete commands.

How is that supposed to work? In order to create an index you would need to
visit all the rows in the table. If you do that, you could just as well
answer the query off a sequential scan.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-02-18 20:13:15 Re: IDENTITY/GENERATED patch
Previous Message Tom Lane 2008-02-18 19:56:39 Re: deadlock with truncate and foreing keys