aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2021-06-10 21:56:14 -0700
committerNoah Misch <noah@leadboat.com>2021-06-10 21:56:14 -0700
commit13a1ca160dcfc316c9f4005891a312f5a84c5ca2 (patch)
treec5af6a21e60e9f1123cd742f315cec730a4ac0bd /src/backend/parser/parse_utilcmd.c
parentd0e750c0acaf31f60667b1635311bcef5ab38bbe (diff)
downloadpostgresql-13a1ca160dcfc316c9f4005891a312f5a84c5ca2.tar.gz
postgresql-13a1ca160dcfc316c9f4005891a312f5a84c5ca2.zip
Change position of field "transformed" in struct CreateStatsStmt.
Resolve the disagreement with nodes/*funcs.c field order in favor of the latter, which is better-aligned with the IndexStmt field order. This field is new in v14. Discussion: https://postgr.es/m/20210611045546.GA573364@rfd.leadboat.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
-rw-r--r--src/backend/parser/parse_utilcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c
index d5b67d48cfc..c9708e38f46 100644
--- a/src/backend/parser/parse_utilcmd.c
+++ b/src/backend/parser/parse_utilcmd.c
@@ -1980,8 +1980,8 @@ generateClonedExtStatsStmt(RangeVar *heapRel, Oid heapRelid,
stats->exprs = def_names;
stats->relations = list_make1(heapRel);
stats->stxcomment = NULL;
- stats->if_not_exists = false;
stats->transformed = true; /* don't need transformStatsStmt again */
+ stats->if_not_exists = false;
/* Clean up */
ReleaseSysCache(ht_stats);