1 /*-------------------------------------------------------------------------
4 * prototypes for utility.c.
7 * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL: pgsql/src/include/tcop/utility.h,v 1.31 2007/02/20 17:32:17 tgl Exp $
12 *-------------------------------------------------------------------------
17 #include "tcop/tcopprot.h"
20 extern void ProcessUtility(Node *parsetree, ParamListInfo params,
21 DestReceiver *dest, char *completionTag);
23 extern bool UtilityReturnsTuples(Node *parsetree);
25 extern TupleDesc UtilityTupleDescriptor(Node *parsetree);
27 extern const char *CreateCommandTag(Node *parsetree);
29 extern LogStmtLevel GetCommandLogLevel(Node *parsetree);
31 extern bool CommandIsReadOnly(Node *parsetree);
33 extern void CheckRelationOwnership(RangeVar *rel, bool noCatalogs);
35 #endif /* UTILITY_H */