1 /*-------------------------------------------------------------------------
2  *
3  * tuplestore.h
4  *	  Utilities regarding calls to PG functions
5  *
6  * Copyright (c) Citus Data, Inc.
7  *-------------------------------------------------------------------------
8  */
9 
10 
11 #ifndef CITUS_TUPLESTORE_H
12 #define CITUS_TUPLESTORE_H
13 #include "funcapi.h"
14 
15 /* Function declaration for getting oid for the given function name */
16 extern
17 ReturnSetInfo * CheckTuplestoreReturn(FunctionCallInfo fcinfo, TupleDesc *tupdesc);
18 
19 extern
20 Tuplestorestate * SetupTuplestore(FunctionCallInfo fcinfo, TupleDesc *tupdesc);
21 #endif
22