• Tom Lane's avatar
    Replace simple constant pg_am.amcanreturn with an AM support function. · 3695a555
    Tom Lane authored
    The need for this was debated when we put in the index-only-scan feature,
    but at the time we had no near-term expectation of having AMs that could
    support such scans for only some indexes; so we kept it simple.  However,
    the SP-GiST AM forces the issue, so let's fix it.
    
    This patch only installs the new API; no behavior actually changes.
    3695a555
indexam.c 23.3 KB