be a CustomScan> object, which the callback must allocate and
initialize. See for more details.
-
-void (*TextOutCustomPath) (StringInfo str,
- const CustomPath *node);
-
- Generate additional output when nodeToString> is invoked on
- this custom path. This callback is optional. Since
- nodeToString> will automatically dump all fields in the
- structure that it can see, including custom_private>, this
- is only useful if the CustomPath> is actually embedded in a
- larger struct containing additional fields.
-
WRITE_NODE_FIELD(custom_private);
appendStringInfoString(str, " :methods ");
_outToken(str, node->methods->CustomName);
- if (node->methods->TextOutCustomPath)
- node->methods->TextOutCustomPath(str, node);
}
static void
List *tlist,
List *clauses,
List *custom_plans);
- /* Optional: print additional fields besides "private" */
- void (*TextOutCustomPath) (StringInfo str,
- const struct CustomPath *node);
} CustomPathMethods;
typedef struct CustomPath