Create new routines systable_beginscan_ordered, systable_getnext_ordered,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ec498cdcbb7e7b430acc7236ab19ef70f116441a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-04-12T23:14:21Z
Releases: 8.4.0
Create new routines systable_beginscan_ordered, systable_getnext_ordered,
systable_endscan_ordered that have API similar to systable_beginscan etc
(in particular, the passed-in scankeys have heap not index attnums),
but guarantee ordered output, unlike the existing functions.  For the moment
these are just very thin wrappers around index_beginscan/index_getnext/etc.
Someday they might need to get smarter; but for now this is just a code
refactoring exercise to reduce the number of direct callers of index_getnext,
in preparation for changing that function's API.

In passing, remove index_getnext_indexitem, which has been dead code for
quite some time, and will have even less use than that in the presence
of run-time-lossy indexes.

Files