From 3695a555136a6d179cac8ae48d5f90171d5b30e9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 18 Dec 2011 15:49:00 -0500 Subject: Replace simple constant pg_am.amcanreturn with an AM support function. 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. --- src/include/utils/rel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/utils') diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 173dc16a253..70d16eb01e4 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -64,6 +64,7 @@ typedef struct RelationAmInfo FmgrInfo ambuildempty; FmgrInfo ambulkdelete; FmgrInfo amvacuumcleanup; + FmgrInfo amcanreturn; FmgrInfo amcostestimate; FmgrInfo amoptions; } RelationAmInfo; -- cgit v1.2.3