Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13a1ca1

Browse files
committed
Change position of field "transformed" in struct CreateStatsStmt.
Resolve the disagreement with nodes/*funcs.c field order in favor of thelatter, which is better-aligned with the IndexStmt field order. Thisfield is new in v14.Discussion:https://postgr.es/m/20210611045546.GA573364@rfd.leadboat.com
1 parentd0e750c commit13a1ca1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/parser/parse_utilcmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,8 +1980,8 @@ generateClonedExtStatsStmt(RangeVar *heapRel, Oid heapRelid,
19801980
stats->exprs=def_names;
19811981
stats->relations=list_make1(heapRel);
19821982
stats->stxcomment=NULL;
1983-
stats->if_not_exists= false;
19841983
stats->transformed= true;/* don't need transformStatsStmt again */
1984+
stats->if_not_exists= false;
19851985

19861986
/* Clean up */
19871987
ReleaseSysCache(ht_stats);

‎src/include/nodes/parsenodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2912,8 +2912,8 @@ typedef struct CreateStatsStmt
29122912
List*exprs;/* expressions to build statistics on */
29132913
List*relations;/* rels to build stats on (list of RangeVar) */
29142914
char*stxcomment;/* comment to apply to stats, or NULL */
2915-
boolif_not_exists;/* do nothing if stats name already exists */
29162915
booltransformed;/* true when transformStatsStmt is finished */
2916+
boolif_not_exists;/* do nothing if stats name already exists */
29172917
}CreateStatsStmt;
29182918

29192919
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp