GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.postgresql.org — DROP PROCEDURE October 15, 2026: PostgreSQL 19 RC 1 Released!
DROP PROCEDUREDROP PROCEDURE — remove a procedure SynopsisDROP PROCEDURE [ IF EXISTS ] Description
Parameters
NotesIf there is only one procedure of the given name, the argument list can be omitted. Omit the parentheses too in this case. In PostgreSQL, it's sufficient to list the input (including For compatibility with the SQL standard, it is also allowed to write all the argument data types (including those of The lookup rules just explained are also used by other commands that act on existing procedures, such as ExamplesIf there is only one procedure DROP PROCEDURE do_db_maintenance; Given this procedure definition: CREATE PROCEDURE do_db_maintenance(IN target_schema text, OUT results text) ... any one of these commands would work to drop it: DROP PROCEDURE do_db_maintenance(IN target_schema text, OUT results text); DROP PROCEDURE do_db_maintenance(IN text, OUT text); DROP PROCEDURE do_db_maintenance(IN text); DROP PROCEDURE do_db_maintenance(text); DROP PROCEDURE do_db_maintenance(text, text); -- potentially ambiguous However, the last example would be ambiguous if there is also, say, CREATE PROCEDURE do_db_maintenance(IN target_schema text, IN options text) ... CompatibilityThis command conforms to the SQL standard, with these PostgreSQL extensions:
See AlsoCREATE PROCEDURE, ALTER PROCEDURE, DROP FUNCTION, DROP ROUTINESubmit correctionIf you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |