v.25.8Improvement

Fix formatting of CREATE USER with query

Fix formatting of CREATE USER with query parameters (i.e. CREATE USER {username:Identifier} IDENTIFIED WITH no_password). #84376 (Azat Khuzhin).
Fixed the formatting issues in the CREATE USER SQL command when using query parameters such as {username:Identifier} with authentication options like IDENTIFIED WITH no_password.

Why it matters

This fix resolves problems users encountered when dynamically specifying usernames in CREATE USER statements with query parameters, ensuring proper parsing and execution of these commands with authentication methods. It improves usability and correctness when managing users programmatically.

How to use it

Use the CREATE USER statement with query parameters to dynamically create users. For example:
CREATE USER {username:Identifier} IDENTIFIED WITH no_password

This command will now correctly process the parameters and create the user without formatting errors.