v.24.7Improvement

Disable Ctrl+Z Suspension in Interactive Mode

Disable suspending on Ctrl+Z in interactive mode. This is a common trap and is not expected behavior for almost all users. I imagine only a few extreme power users could appreciate suspending terminal applications to the background, but I don't know any. #66511 (Alexey Milovidov).
Disable suspending ClickHouse interactive sessions using Ctrl+Z.

Why it matters

This feature prevents accidental suspension of ClickHouse interactive terminal sessions when users press Ctrl+Z, which is a common unintended behavior. It improves user experience by avoiding confusion caused by backgrounding the application, as most users do not expect or need this behavior.

How to use it

This change is applied by default in the interactive mode of ClickHouse with no additional configuration needed. Users simply interact with the ClickHouse client as usual, and pressing Ctrl+Z will no longer suspend the session.