1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* utility.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* prototypes for utility.c.
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2003-08-04 04:40:20 +02:00
|
|
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2003-11-29 23:41:33 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/tcop/utility.h,v 1.21 2003/11/29 22:41:14 pgsql Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef UTILITY_H
|
|
|
|
#define UTILITY_H
|
|
|
|
|
1999-07-16 01:04:24 +02:00
|
|
|
#include "executor/execdesc.h"
|
1996-11-04 13:07:05 +01:00
|
|
|
|
2003-05-06 22:26:28 +02:00
|
|
|
extern void ProcessUtility(Node *parsetree, DestReceiver *dest,
|
2002-09-04 22:31:48 +02:00
|
|
|
char *completionTag);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2003-05-06 22:26:28 +02:00
|
|
|
extern bool UtilityReturnsTuples(Node *parsetree);
|
|
|
|
|
|
|
|
extern TupleDesc UtilityTupleDescriptor(Node *parsetree);
|
|
|
|
|
2003-05-02 22:54:36 +02:00
|
|
|
extern const char *CreateCommandTag(Node *parsetree);
|
|
|
|
|
2003-07-22 21:00:12 +02:00
|
|
|
extern void CheckRelationOwnership(RangeVar *rel, bool noCatalogs);
|
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* UTILITY_H */
|