@@ -380,7 +380,7 @@ func (ex *connExecutor) execStmtInOpenState(
380380 os := ex .machine .CurState ().(stateOpen )
381381
382382 isExtendedProtocol := prepared != nil
383- stmtFingerprintFmtMask := tree .FmtHideConstants | tree .FmtFlags (queryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV ))
383+ stmtFingerprintFmtMask := tree .FmtHideConstants | tree .FmtFlags (tree . QueryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV ))
384384
385385 var stmt Statement
386386 if isExtendedProtocol {
@@ -905,7 +905,7 @@ func (ex *connExecutor) execStmtInOpenState(
905905 NumAnnotations : stmt .NumAnnotations ,
906906 },
907907 ex .server .cfg .GenerateID (),
908- tree .FmtFlags (queryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV )),
908+ tree .FmtFlags (tree . QueryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV )),
909909 )
910910 var rawTypeHints []oid.Oid
911911
@@ -1256,7 +1256,7 @@ func (ex *connExecutor) execStmtInOpenStateWithPausablePortal(
12561256 os := ex .machine .CurState ().(stateOpen )
12571257
12581258 isExtendedProtocol := portal != nil && portal .Stmt != nil
1259- stmtFingerprintFmtMask := tree .FmtHideConstants | tree .FmtFlags (queryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV ))
1259+ stmtFingerprintFmtMask := tree .FmtHideConstants | tree .FmtFlags (tree . QueryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV ))
12601260
12611261 if isExtendedProtocol {
12621262 vars .stmt = makeStatementFromPrepared (portal .Stmt , queryID )
@@ -1867,7 +1867,7 @@ func (ex *connExecutor) execStmtInOpenStateWithPausablePortal(
18671867 NumAnnotations : vars .stmt .NumAnnotations ,
18681868 },
18691869 ex .server .cfg .GenerateID (),
1870- tree .FmtFlags (queryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV )),
1870+ tree .FmtFlags (tree . QueryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV )),
18711871 )
18721872 var rawTypeHints []oid.Oid
18731873
@@ -3453,7 +3453,7 @@ func (ex *connExecutor) execStmtInNoTxnState(
34533453
34543454 p := & ex .planner
34553455 stmt := makeStatement (parserStmt , ex .server .cfg .GenerateID (),
3456- tree .FmtFlags (queryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV )))
3456+ tree .FmtFlags (tree . QueryFormattingForFingerprintsMask .Get (& ex .server .cfg .Settings .SV )))
34573457 p .stmt = stmt
34583458 p .semaCtx .Annotations = tree .MakeAnnotations (stmt .NumAnnotations )
34593459 p .extendedEvalCtx .Annotations = & p .semaCtx .Annotations
0 commit comments