Remove a function with its signature.

Section: Views, Functions, Triggers, and Extensions

Drop function

sql
sql
DROP FUNCTION IF EXISTS public.user_email_domain(text);
Explanation

See summary for usage details.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Views, Functions, Triggers, and Extensions
Drop database
Delete a database permanently.
OpenIn sheetsql1 tag match
Drop role
Remove a role from the cluster.
OpenIn sheetsql1 tag match
Drop table
Remove a table if it exists.
OpenIn sheetsql1 tag match
Drop index
Remove an index that is no longer needed.
OpenIn sheetsql1 tag match
Connect to a database
Open an interactive psql session to a database.
Create database
Create a new database in the cluster.