MCPcopy Create free account
hub / github.com/apache/cloudberry / postgresExecForeignDelete

Function postgresExecForeignDelete

contrib/postgres_fdw/postgres_fdw.c:2097–2110  ·  view source on GitHub ↗

* postgresExecForeignDelete * Delete one row from a foreign table */

Source from the content-addressed store, hash-verified

2095 * Delete one row from a foreign table
2096 */
2097static TupleTableSlot *
2098postgresExecForeignDelete(EState *estate,
2099 ResultRelInfo *resultRelInfo,
2100 TupleTableSlot *slot,
2101 TupleTableSlot *planSlot)
2102{
2103 TupleTableSlot **rslot;
2104 int numSlots = 1;
2105
2106 rslot = execute_foreign_modify(estate, resultRelInfo, CMD_DELETE,
2107 &slot, &planSlot, &numSlots);
2108
2109 return rslot ? rslot[0] : NULL;
2110}
2111
2112/*
2113 * postgresEndForeignModify

Callers

nothing calls this directly

Calls 1

execute_foreign_modifyFunction · 0.85

Tested by

no test coverage detected