Skip to content

Commit 1c9242b

Browse files
committed
Doc: remove obsolete comment.
This para should have been removed by 2f96613, which made it both false and irrelevant. Noted while looking at SQL function plancache patch.
1 parent 6d376c3 commit 1c9242b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/include/utils/plancache.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,13 @@ extern PGDLLIMPORT int plan_cache_mode;
8989
* all subsidiary data live in the caller's CurrentMemoryContext, and there
9090
* is no way to free memory short of clearing that entire context. A oneshot
9191
* 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.
9792
*/
9893
typedef struct CachedPlanSource
9994
{
10095
int magic; /* should equal CACHEDPLANSOURCE_MAGIC */
10196
struct RawStmt *raw_parse_tree; /* output of raw_parser(), or NULL */
10297
const char *query_string; /* source text of query */
103-
CommandTag commandTag; /* 'nuff said */
98+
CommandTag commandTag; /* command tag for query */
10499
Oid *param_types; /* array of parameter type OIDs, or NULL */
105100
int num_params; /* length of param_types array */
106101
ParserSetupHook parserSetup; /* alternative parameter spec method */

0 commit comments

Comments
 (0)