remove duplicate codes in ExecSetParamPlan
Just remove duplicate code in ExecSetParamPlan(), it repeated with line 1158.
@@ -1166,12 +1166,6 @@ PG_TRY();
astate = initArrayResultAny(subplan->firstColType,
CurrentMemoryContext, true);
- /*
- * Enforce forward scan direction regardless of caller. It's hard but not
- * impossible to get here in backward scan, so make it work anyway.
- */
- estate->es_direction = ForwardScanDirection;
-
/*
* Must switch to per-query memory context.
*/
