mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
Refactor ALTER some-obj RENAME implementation
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user