Open devrimgunduz opened 3 years ago
Hi
Any updates?
Regards, Devrim
ping.
Anyone around? v14 is around the corner.
ping
ping
ping
ping.
To support pg14 fix this in redis_fdw.c: 1) #include` "optimizer/appendinfo.h 2) static void redisAddForeignUpdateTargets(
Query *parsetree,
PlannerInfo *root,
Index rtindex,
3) Var *var;
TargetEntry *tle;
4)
/ make a Var representing the desired value / var = makeVar(parsetree->resultRelation, attrno, att->atttypid, att->atttypmod, att->attcollation, 0); / wrap it in a resjunk TLE / tle = makeTargetEntry((Expr *)var, list_length(parsetree->targetList) + 1, pstrdup(colname), true); parsetree->targetList = lappend(parsetree->targetList, tle);
var = makeVar(rtindex,
attrno,
att->atttypid,
att->atttypmod,
att->attcollation,
0);
/* register it as a row-identity column needed by this target rel */
add_row_identity_var(root, var, rtindex, "__redis_mod_key_name");
5)
Plan *subplan = mtstate->mt_plans[subplan_index]->plan;
Plan *subplan = outerPlanState(mtstate)->plan;
I make only 5 and it works for me
Hi,
redis_fdw fails to build against PostgreSQL 14. Can you please take a look? v14 beta1 is out, and we are working on packaging.