mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
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
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user