mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
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.
This commit is contained in:
@@ -182,6 +182,7 @@ extern Datum spgmarkpos(PG_FUNCTION_ARGS);
|
||||
extern Datum spgrestrpos(PG_FUNCTION_ARGS);
|
||||
extern Datum spggetbitmap(PG_FUNCTION_ARGS);
|
||||
extern Datum spggettuple(PG_FUNCTION_ARGS);
|
||||
extern Datum spgcanreturn(PG_FUNCTION_ARGS);
|
||||
|
||||
/* spgutils.c */
|
||||
extern Datum spgoptions(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user