File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -253,11 +253,6 @@ initRumState(RumState * state, Relation index)
253
253
*/
254
254
if (index_getprocid (index , i + 1 , GIN_COMPARE_PROC ) != InvalidOid )
255
255
{
256
- #if PG_VERSION_NUM < 100000
257
- ereport (ERROR ,
258
- (errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
259
- errmsg ("array indexing is only available on PostgreSQL 10+" )));
260
- #endif
261
256
fmgr_info_copy (& (state -> compareFn [i ]),
262
257
index_getprocinfo (index , i + 1 , GIN_COMPARE_PROC ),
263
258
CurrentMemoryContext );
@@ -266,6 +261,12 @@ initRumState(RumState * state, Relation index)
266
261
{
267
262
TypeCacheEntry * typentry ;
268
263
264
+ #if PG_VERSION_NUM < 100000
265
+ ereport (ERROR ,
266
+ (errcode (ERRCODE_FEATURE_NOT_SUPPORTED ),
267
+ errmsg ("array indexing is only available on PostgreSQL 10+" )));
268
+ #endif
269
+
269
270
typentry = lookup_type_cache (origTupdesc -> attrs [i ]-> atttypid ,
270
271
TYPECACHE_CMP_PROC_FINFO );
271
272
if (!OidIsValid (typentry -> cmp_proc_finfo .fn_oid ))
You can’t perform that action at this time.
0 commit comments