table of contents
DROP PROCEDURE(7) | PostgreSQL 11.6 Documentation | DROP PROCEDURE(7) |
NAME¶
DROP_PROCEDURE - remove a procedure
SYNOPSIS¶
DROP PROCEDURE [ IF EXISTS ] name [ ( [ [ argmode ] [ argname ] argtype [, ...] ] ) ] [, ...]
[ CASCADE | RESTRICT ]
DESCRIPTION¶
DROP PROCEDURE removes the definition of an existing procedure. To execute this command the user must be the owner of the procedure. The argument types to the procedure must be specified, since several different procedures can exist with the same name and different argument lists.
PARAMETERS¶
IF EXISTS
name
argmode
argname
argtype
CASCADE
RESTRICT
EXAMPLES¶
DROP PROCEDURE do_db_maintenance();
COMPATIBILITY¶
This command conforms to the SQL standard, with these PostgreSQL extensions:
SEE ALSO¶
CREATE PROCEDURE (CREATE_PROCEDURE(7)), ALTER PROCEDURE (ALTER_PROCEDURE(7)), DROP FUNCTION (DROP_FUNCTION(7)), DROP ROUTINE (DROP_ROUTINE(7))
2019 | PostgreSQL 11.6 |