PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized_gist_sel()

Datum gserialized_gist_sel ( PG_FUNCTION_ARGS  )

Definition at line 2123 of file gserialized_estimate.c.

2124{
2125 PlannerInfo *root = (PlannerInfo *) PG_GETARG_POINTER(0);
2126 // Oid operator_oid = PG_GETARG_OID(1);
2127 List *args = (List *) PG_GETARG_POINTER(2);
2128 int varRelid = PG_GETARG_INT32(3);
2129 int mode = PG_GETARG_INT32(4);
2130 float8 selectivity = gserialized_sel_internal(root, args, varRelid, mode);
2131 POSTGIS_DEBUGF(2, "%s: selectivity is %g", __func__, selectivity);
2132 PG_RETURN_FLOAT8(selectivity);
2133}
float8 gserialized_sel_internal(PlannerInfo *root, List *args, int varRelid, int mode)
This function should return an estimation of the number of rows returned by a query involving an over...

References gserialized_sel_internal().

Referenced by gserialized_gist_sel_2d(), and gserialized_gist_sel_nd().

Here is the call graph for this function:
Here is the caller graph for this function: