if ( ! get_attstatsslot(stats1_tuple, 0, 0, STATISTIC_KIND_GEOMETRY, InvalidOid, NULL, NULL,
-#if POSTGIS_PGSQL_VERSION > 84
NULL,
-#endif
(float4 **)gs1ptr, &geomstats1_nvalues) )
{
POSTGIS_DEBUG(3, " STATISTIC_KIND_GEOMETRY stats not found - returning default geometry join selectivity");
if ( ! get_attstatsslot(stats2_tuple, 0, 0, STATISTIC_KIND_GEOMETRY, InvalidOid, NULL, NULL,
-#if POSTGIS_PGSQL_VERSION > 84
NULL,
-#endif
(float4 **)gs2ptr, &geomstats2_nvalues) )
{
POSTGIS_DEBUG(3, " STATISTIC_KIND_GEOMETRY stats not found - returning default geometry join selectivity");
bool result;
BOX2DF query_gbox_index;
-#if POSTGIS_PGSQL_VERSION >= 84
/* PostgreSQL 8.4 and later require the RECHECK flag to be set here,
rather than being supplied as part of the operator class definition */
bool *recheck = (bool *) PG_GETARG_POINTER(4);
out during index scans. For cases when the geometries are large, rechecking
can make things twice as slow. */
*recheck = false;
-#endif
POSTGIS_DEBUG(4, "[GIST] 'consistent' function called");
char gidxmem[GIDX_MAX_SIZE];
GIDX *query_gbox_index = (GIDX*)gidxmem;
-#if POSTGIS_PGSQL_VERSION >= 84
/* PostgreSQL 8.4 and later require the RECHECK flag to be set here,
rather than being supplied as part of the operator class definition */
bool *recheck = (bool *) PG_GETARG_POINTER(4);
out during index scans. For cases when the geometries are large, rechecking
can make things twice as slow. */
*recheck = false;
-#endif
POSTGIS_DEBUG(4, "[GIST] 'consistent' function called");
if (fcinfo->context && IsA(fcinfo->context, AggState))
aggcontext = ((AggState *) fcinfo->context)->aggcontext;
-#if POSTGIS_PGSQL_VERSION == 84
-
- else if (fcinfo->context && IsA(fcinfo->context, WindowAggState))
- aggcontext = ((WindowAggState *) fcinfo->context)->wincontext;
-#endif
-#if POSTGIS_PGSQL_VERSION > 84
-
else if (fcinfo->context && IsA(fcinfo->context, WindowAggState))
aggcontext = ((WindowAggState *) fcinfo->context)->aggcontext;
-#endif
else
{
/* cannot be called directly because of internal-type argument */
Assert(fcinfo->context &&
- (IsA(fcinfo->context, AggState)
-#if POSTGIS_PGSQL_VERSION >= 84
- || IsA(fcinfo->context, WindowAggState)
-#endif
- ));
+ (IsA(fcinfo->context, AggState) ||
+ IsA(fcinfo->context, WindowAggState))
+ );
state = p->a;
dims[0] = state->nelems;
lbs[0] = 1;
-#if POSTGIS_PGSQL_VERSION < 84
-
- result = makeMdArrayResult(state, 1, dims, lbs, mctx);
-#else
-
result = makeMdArrayResult(state, 1, dims, lbs, mctx, false);
-#endif
-
return result;
}