* postgresExplainDirectModify * Produce extra output for EXPLAIN of a ForeignScan that modifies a * foreign table directly */
| 2954 | * foreign table directly |
| 2955 | */ |
| 2956 | static void |
| 2957 | postgresExplainDirectModify(ForeignScanState *node, ExplainState *es) |
| 2958 | { |
| 2959 | List *fdw_private; |
| 2960 | char *sql; |
| 2961 | |
| 2962 | if (es->verbose) |
| 2963 | { |
| 2964 | fdw_private = ((ForeignScan *) node->ss.ps.plan)->fdw_private; |
| 2965 | sql = strVal(list_nth(fdw_private, FdwDirectModifyPrivateUpdateSql)); |
| 2966 | ExplainPropertyText("Remote SQL", sql, es); |
| 2967 | } |
| 2968 | } |
| 2969 | |
| 2970 | /* |
| 2971 | * postgresExecForeignTruncate |
nothing calls this directly
no test coverage detected