mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Add transformed flag to nodes/*funcs.c for CREATE STATISTICS
Commit a4d75c86bf
added a new flag, tracking if the statement was
processed by transformStatsStmt(), but failed to add this flag to
nodes/*funcs.c.
Catversion bump, due to adding a flag to copy/equal/out functions.
Reported-by: Noah Misch
Discussion: https://postgr.es/m/ad7891d2-e90c-b446-9fe2-7419143847d7%40enterprisedb.com
This commit is contained in:
@ -3678,6 +3678,7 @@ _copyCreateStatsStmt(const CreateStatsStmt *from)
|
||||
COPY_NODE_FIELD(exprs);
|
||||
COPY_NODE_FIELD(relations);
|
||||
COPY_STRING_FIELD(stxcomment);
|
||||
COPY_SCALAR_FIELD(transformed);
|
||||
COPY_SCALAR_FIELD(if_not_exists);
|
||||
|
||||
return newnode;
|
||||
|
Reference in New Issue
Block a user