]> granicus.if.org Git - postgresql/blob - src/include/commands/collationcmds.h
Consolidate DROP handling for some object types.
[postgresql] / src / include / commands / collationcmds.h
1 /*-------------------------------------------------------------------------
2  *
3  * collationcmds.h
4  *        prototypes for collationcmds.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/commands/collationcmds.h
11  *
12  *-------------------------------------------------------------------------
13  */
14
15 #ifndef COLLATIONCMDS_H
16 #define COLLATIONCMDS_H
17
18 #include "nodes/parsenodes.h"
19
20 extern void DefineCollation(List *names, List *parameters);
21 extern void RenameCollation(List *name, const char *newname);
22 extern void AlterCollationOwner(List *name, Oid newOwnerId);
23 extern void AlterCollationOwner_oid(Oid collationOid, Oid newOwnerId);
24 extern void AlterCollationNamespace(List *name, const char *newschema);
25 extern Oid      AlterCollationNamespace_oid(Oid collOid, Oid newNspOid);
26
27 #endif   /* COLLATIONCMDS_H */