diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-06-06 20:52:58 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-06-06 20:52:58 +0200 |
commit | d57ecebd128cdf2f4844a2ea4d35ff28d7d69be8 (patch) | |
tree | 6cb8073557fcf2d854116271b73b8fc0d3c528cc /src/backend/nodes/copyfuncs.c | |
parent | a2dee328bbe5b1979bbc6a784deb86a336c9cd74 (diff) | |
download | postgresql-d57ecebd128cdf2f4844a2ea4d35ff28d7d69be8.tar.gz postgresql-d57ecebd128cdf2f4844a2ea4d35ff28d7d69be8.zip |
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
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index f94422c0526..621f7ce0687 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -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; |