* postgresExecForeignUpdate * Update one row in a foreign table */
| 2076 | * Update one row in a foreign table |
| 2077 | */ |
| 2078 | static TupleTableSlot * |
| 2079 | postgresExecForeignUpdate(EState *estate, |
| 2080 | ResultRelInfo *resultRelInfo, |
| 2081 | TupleTableSlot *slot, |
| 2082 | TupleTableSlot *planSlot) |
| 2083 | { |
| 2084 | TupleTableSlot **rslot; |
| 2085 | int numSlots = 1; |
| 2086 | |
| 2087 | rslot = execute_foreign_modify(estate, resultRelInfo, CMD_UPDATE, |
| 2088 | &slot, &planSlot, &numSlots); |
| 2089 | |
| 2090 | return rslot ? rslot[0] : NULL; |
| 2091 | } |
| 2092 | |
| 2093 | /* |
| 2094 | * postgresExecForeignDelete |
nothing calls this directly
no test coverage detected