Refactor the handling of the various DropStmt variants so that when multiple
[PostgreSQL.git] / src / include / commands / conversioncmds.h
blobe395a92a802caaf415412a0add1c75ee1e70a97c
1 /*-------------------------------------------------------------------------
3 * conversioncmds.h
4 * prototypes for conversioncmds.c.
7 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL$
12 *-------------------------------------------------------------------------
15 #ifndef CONVERSIONCMDS_H
16 #define CONVERSIONCMDS_H
18 #include "nodes/parsenodes.h"
20 extern void CreateConversionCommand(CreateConversionStmt *parsetree);
21 extern void DropConversionsCommand(DropStmt *drop);
22 extern void RenameConversion(List *name, const char *newname);
23 extern void AlterConversionOwner(List *name, Oid newOwnerId);
24 extern void AlterConversionOwner_oid(Oid conversionOid, Oid newOwnerId);
26 #endif /* CONVERSIONCMDS_H */