diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-11-17 21:31:29 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-11-17 21:32:34 -0500 |
commit | fc6d1006bda783cc002c61a5f072905849dbde4b (patch) | |
tree | 555ab6461e7780c0f5a5f21cc80b8f7f17eb844d /src/include/commands/proclang.h | |
parent | 709aca59608395eef9ceb7dcb79fd9d03a0709ef (diff) | |
download | postgresql-fc6d1006bda783cc002c61a5f072905849dbde4b.tar.gz postgresql-fc6d1006bda783cc002c61a5f072905849dbde4b.zip |
Further consolidation of DROP statement handling.
This gets rid of an impressive amount of duplicative code, with only
minimal behavior changes. DROP FOREIGN DATA WRAPPER now requires object
ownership rather than superuser privileges, matching the documentation
we already have. We also eliminate the historical warning about dropping
a built-in function as unuseful. All operations are now performed in the
same order for all object types handled by dropcmds.c.
KaiGai Kohei, with minor revisions by me
Diffstat (limited to 'src/include/commands/proclang.h')
-rw-r--r-- | src/include/commands/proclang.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/commands/proclang.h b/src/include/commands/proclang.h index 644c371dcc0..17d09724199 100644 --- a/src/include/commands/proclang.h +++ b/src/include/commands/proclang.h @@ -15,7 +15,6 @@ #include "nodes/parsenodes.h" extern void CreateProceduralLanguage(CreatePLangStmt *stmt); -extern void DropProceduralLanguage(DropPLangStmt *stmt); extern void DropProceduralLanguageById(Oid langOid); extern void RenameLanguage(const char *oldname, const char *newname); extern void AlterLanguageOwner(const char *name, Oid newOwnerId); |