Re: currentItemData & currentMarkData - Mailing list pgsql-hackers

From Tom Lane
Subject Re: currentItemData & currentMarkData
Date
Msg-id 16246.1158073174@sss.pgh.pa.us
Whole thread Raw
In response to currentItemData & currentMarkData  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> It has bothered me for some time that we have currentItemData and 
> currentMarkData fields in IndexScanDescData, while it's really indexam's 
> private data. They should be in the indexam opaque structure.

Can't get very excited about it, but if you want.

> There's also is_multiscan field which is set but never read.

It has been needed in the past and could plausibly be needed again
sometime --- an index AM's rescan method might want to know what kind
of scan it's setting up for.  Of course, if we get rid of amgetmulti
entirely as has been discussed, this'd go away too.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: dump / restore functionality
Next
From: "Joshua D. Drake"
Date:
Subject: Re: dump / restore functionality