]> granicus.if.org Git - postgresql/blob - src/include/tcop/utility.h
First phase of project to use fixed OIDs for all system catalogs and
[postgresql] / src / include / tcop / utility.h
1 /*-------------------------------------------------------------------------
2  *
3  * utility.h
4  *        prototypes for utility.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/tcop/utility.h,v 1.26 2004/12/31 22:03:44 pgsql Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef UTILITY_H
15 #define UTILITY_H
16
17 #include "executor/execdesc.h"
18
19
20 extern void ProcessUtility(Node *parsetree, ParamListInfo params,
21                            DestReceiver *dest, char *completionTag);
22
23 extern bool UtilityReturnsTuples(Node *parsetree);
24
25 extern TupleDesc UtilityTupleDescriptor(Node *parsetree);
26
27 extern const char *CreateCommandTag(Node *parsetree);
28
29 extern const char *CreateQueryTag(Query *parsetree);
30
31 extern bool QueryIsReadOnly(Query *parsetree);
32
33 extern void CheckRelationOwnership(RangeVar *rel, bool noCatalogs);
34
35 #endif   /* UTILITY_H */