-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli: \df
command to list or show all user defined functions
#88597
Comments
The |
Thanks for filing the issue! |
Yeah, let's forget |
\df
command to list or show all user defined functions
This is how
and this is how
We should be able to do something similar. It can be added similarly to cockroach/pkg/cli/clisqlshell/sql.go Line 1292 in bfbd07b
|
It would be nice to have a dedicated command to show all user defined functions in a database or schema.
PostgreSQL's psql has the
\df
command.MySQL has the
SHOW FUNCTION STATUS
statement.We do include user-defined functions in the output of
\hf
but this only gives the function name, not any additional information:As a workaround, we can query
pg_catalog.pg_proc
:But this is a little annoying, and it would be nice to match psql.
This is on
v22.2.0-alpha.3-550-g099da40b73
(current tip of master).Jira issue: CRDB-19851
Epic CRDB-23454
The text was updated successfully, but these errors were encountered: