From 765cbfdc9263bf7c90b9d1f1044c6950b8b7088c Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 21 Jan 2013 12:06:41 -0300 Subject: Refactor ALTER some-obj RENAME implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove duplicate implementations of catalog munging and miscellaneous privilege checks. Instead rely on already existing data in objectaddress.c to do the work. Author: KaiGai Kohei, changes by me Reviewed by: Robert Haas, Álvaro Herrera, Dimitri Fontaine --- src/include/commands/collationcmds.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include/commands/collationcmds.h') diff --git a/src/include/commands/collationcmds.h b/src/include/commands/collationcmds.h index 5aaa1781726..178f7048424 100644 --- a/src/include/commands/collationcmds.h +++ b/src/include/commands/collationcmds.h @@ -18,7 +18,6 @@ #include "nodes/parsenodes.h" extern Oid DefineCollation(List *names, List *parameters); -extern Oid RenameCollation(List *name, const char *newname); -extern void IsThereCollationInNamespace(const char *collname, Oid newNspOid); +extern void IsThereCollationInNamespace(const char *collname, Oid nspOid); #endif /* COLLATIONCMDS_H */ -- cgit v1.2.3