user ls
warning: This command is deprecated. Use SHOW USERS or SHOW ROLES in a SQL session.
user_name
root
user ls --format=table
warning: This command is deprecated. Use SHOW USERS or SHOW ROLES in a SQL session.
user_name
+-----------+
root
(1 row)
user ls --format=tsv
warning: This command is deprecated. Use SHOW USERS or SHOW ROLES in a SQL session.
user_name
root
user set FOO
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
sql -e create user if not exists 'FOO'
CREATE USER 0
user set Foo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 0
user set fOo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 0
user set foO
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 0
user set foo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 0
user set _foo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set f_oo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set foo_
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set ,foo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
pq: username ",foo" invalid; usernames are case insensitive, must start with a letter or underscore, may contain letters, digits, dashes, or underscores, and must not exceed 63 characters
user set f,oo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
pq: username "f,oo" invalid; usernames are case insensitive, must start with a letter or underscore, may contain letters, digits, dashes, or underscores, and must not exceed 63 characters
user set foo,
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
pq: username "foo," invalid; usernames are case insensitive, must start with a letter or underscore, may contain letters, digits, dashes, or underscores, and must not exceed 63 characters
user set 0foo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
pq: username "0foo" invalid; usernames are case insensitive, must start with a letter or underscore, may contain letters, digits, dashes, or underscores, and must not exceed 63 characters
user set foo0
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set f0oo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoof
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
pq: username "foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoof" invalid; usernames are case insensitive, must start with a letter or underscore, may contain letters, digits, dashes, or underscores, and must not exceed 63 characters
user set foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoo
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set Ομηρος
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set and
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user set table
warning: This command is deprecated. Use CREATE USER or ALTER USER ... WITH PASSWORD ... in a SQL session.
CREATE USER 1
user ls --format=table
warning: This command is deprecated. Use SHOW USERS or SHOW ROLES in a SQL session.
user_name
+-----------------------------------------------------------------+
_foo
and
f0oo
f_oo
foo
foo0
foo_
foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoo
root
table
ομηρος
(11 rows)
user rm foo
warning: This command is deprecated. Use DROP USER or DROP ROLE in a SQL session.
DROP USER 1
user ls --format=table
warning: This command is deprecated. Use SHOW USERS or SHOW ROLES in a SQL session.
user_name
+-----------------------------------------------------------------+
_foo
and
f0oo
f_oo
foo0
foo_
foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoo
root
table
ομηρος
(10 rows)

DebugCmdsForRocksDB lists debug commands that access rocksdb through the engine
and need encryption flags (injected by CCL code).
Note: do NOT include commands that just call rocksdb code without setting up an engine.

AddPersistentPreRunE add 'fn' as a persistent pre-run function to 'cmd'.
If the command has an existing pre-run function, it is saved and will be called
at the beginning of 'fn'.
This allows an arbitrary number of pre-run functions with ordering based
on the order in which AddPersistentPreRunE is called (usually package init order).

Main is the entry point for the cli, with a single line calling it intended
to be the body of an action package main `main` func elsewhere. It is
abstracted for reuse by duplicated `main` funcs in different distributions.