* postgresExecForeignDelete * Delete one row from a foreign table */
| 2095 | * Delete one row from a foreign table |
| 2096 | */ |
| 2097 | static TupleTableSlot * |
| 2098 | postgresExecForeignDelete(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 |
nothing calls this directly
no test coverage detected