v.24.11Improvement

Fix clickhouse su to accept UID:GID format for user/group IDs

When user/group is given as ID, the clickhouse su fails. This patch fixes it to accept UID:GID as well. #71626 (Mikhail f. Shiryaev).
The clickhouse su command is enhanced to accept user and group identifiers in UID:GID numeric format.

Why it matters

Previously, clickhouse su failed when provided user or group arguments as numeric IDs. This update fixes the issue allowing users to specify numeric user and group IDs directly, improving flexibility and usability in environments where IDs are preferred over names.

How to use it

Invoke the clickhouse su command by providing the user and group as numeric IDs in the format UID:GID. For example:
clickhouse su 1001:1001