Re: Index Skip Scan - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Index Skip Scan
Date
Msg-id 20190904204538.GA14030@alvherre.pgsql
Whole thread Raw
In response to Re: Index Skip Scan  (Dmitry Dolgov <9erthalion6@gmail.com>)
Responses Re: Index Skip Scan
List pgsql-hackers
Surely it isn't right to add members prefixed with "ioss_" to
struct IndexScanState.

I'm surprised about this "FirstTupleEmitted" business.  Wouldn't it make
more sense to implement index_skip() to return the first tuple if the
scan is just starting?  (I know little about executor, apologies if this
is a stupid question.)

It would be good to get more knowledgeable people to review this patch.
It's clearly something we want, yet it's been there for a very long
time.

Thanks

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Client Certificate Authentication Using Custom Fields (i.e.other than CN)
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] [PATCH] pageinspect function to decode infomasks