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

◆ gserialized_gist_sel()

Datum gserialized_gist_sel ( PG_FUNCTION_ARGS  )

Definition at line 2284 of file gserialized_estimate.c.

2285{
2286 PlannerInfo *root = (PlannerInfo *) PG_GETARG_POINTER(0);
2287 // Oid operator_oid = PG_GETARG_OID(1);
2288 List *args = (List *) PG_GETARG_POINTER(2);
2289 int varRelid = PG_GETARG_INT32(3);
2290 int mode = PG_GETARG_INT32(4);
2291 float8 selectivity = gserialized_sel_internal(root, args, varRelid, mode);
2292 POSTGIS_DEBUGF(2, "%s: selectivity is %g", __func__, selectivity);
2293 PG_RETURN_FLOAT8(selectivity);
2294}
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: