File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -89,18 +89,13 @@ extern PGDLLIMPORT int plan_cache_mode;
89
89
* all subsidiary data live in the caller's CurrentMemoryContext, and there
90
90
* is no way to free memory short of clearing that entire context. A oneshot
91
91
* plan is always treated as unsaved.
92
- *
93
- * Note: the string referenced by commandTag is not subsidiary storage;
94
- * it is assumed to be a compile-time-constant string. As with portals,
95
- * commandTag shall be NULL if and only if the original query string (before
96
- * rewriting) was an empty string.
97
92
*/
98
93
typedef struct CachedPlanSource
99
94
{
100
95
int magic ; /* should equal CACHEDPLANSOURCE_MAGIC */
101
96
struct RawStmt * raw_parse_tree ; /* output of raw_parser(), or NULL */
102
97
const char * query_string ; /* source text of query */
103
- CommandTag commandTag ; /* 'nuff said */
98
+ CommandTag commandTag ; /* command tag for query */
104
99
Oid * param_types ; /* array of parameter type OIDs, or NULL */
105
100
int num_params ; /* length of param_types array */
106
101
ParserSetupHook parserSetup ; /* alternative parameter spec method */
You can’t perform that action at this time.
0 commit comments