diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-03-14 14:08:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-03-14 14:08:47 -0400 |
commit | 1c9242b2cdc358b8be9c4e9967823a24a7807525 (patch) | |
tree | 4fced869df03c748457504af463f95b32859d952 | |
parent | 6d376c3b0d1e79c318d2a1c04097025784e28377 (diff) | |
download | postgresql-1c9242b2cdc358b8be9c4e9967823a24a7807525.tar.gz postgresql-1c9242b2cdc358b8be9c4e9967823a24a7807525.zip |
Doc: remove obsolete comment.
This para should have been removed by 2f9661311, which made it
both false and irrelevant. Noted while looking at SQL function
plancache patch.
-rw-r--r-- | src/include/utils/plancache.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/include/utils/plancache.h b/src/include/utils/plancache.h index f1fc7707338..199cc323a28 100644 --- a/src/include/utils/plancache.h +++ b/src/include/utils/plancache.h @@ -89,18 +89,13 @@ extern PGDLLIMPORT int plan_cache_mode; * all subsidiary data live in the caller's CurrentMemoryContext, and there * is no way to free memory short of clearing that entire context. A oneshot * plan is always treated as unsaved. - * - * Note: the string referenced by commandTag is not subsidiary storage; - * it is assumed to be a compile-time-constant string. As with portals, - * commandTag shall be NULL if and only if the original query string (before - * rewriting) was an empty string. */ typedef struct CachedPlanSource { int magic; /* should equal CACHEDPLANSOURCE_MAGIC */ struct RawStmt *raw_parse_tree; /* output of raw_parser(), or NULL */ const char *query_string; /* source text of query */ - CommandTag commandTag; /* 'nuff said */ + CommandTag commandTag; /* command tag for query */ Oid *param_types; /* array of parameter type OIDs, or NULL */ int num_params; /* length of param_types array */ ParserSetupHook parserSetup; /* alternative parameter spec method */ |