mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove CustomPath's TextOutCustomPath method.
You can't really do anything useful with this in the form it currently exists; among other problems, there's no way to reread whatever information might be produced when the path is output. Work is underway to replace this with a more useful and more general system of extensible nodes, but let's start by getting rid of this bit. Extracted from a larger patch by KaiGai Kohei.
This commit is contained in:
@ -1705,8 +1705,6 @@ _outCustomPath(StringInfo str, const CustomPath *node)
|
||||
WRITE_NODE_FIELD(custom_private);
|
||||
appendStringInfoString(str, " :methods ");
|
||||
_outToken(str, node->methods->CustomName);
|
||||
if (node->methods->TextOutCustomPath)
|
||||
node->methods->TextOutCustomPath(str, node);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -958,9 +958,6 @@ typedef struct CustomPathMethods
|
||||
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
|
||||
|
Reference in New Issue
Block a user