mirror of https://github.com/citusdata/citus.git
32 lines
837 B
C
32 lines
837 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* intermediate_results.h
|
|
* Functions for writing and reading intermediate results.
|
|
*
|
|
* Copyright (c) 2017, Citus Data, Inc.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef INTERMEDIATE_RESULTS_H
|
|
#define INTERMEDIATE_RESULTS_H
|
|
|
|
|
|
#include "fmgr.h"
|
|
|
|
#include "distributed/multi_copy.h"
|
|
#include "nodes/execnodes.h"
|
|
#include "nodes/pg_list.h"
|
|
#include "tcop/dest.h"
|
|
#include "utils/palloc.h"
|
|
|
|
|
|
extern DestReceiver * CreateRemoteFileDestReceiver(char *resultId, EState *executorState,
|
|
List *initialNodeList, bool
|
|
writeLocalFile);
|
|
extern void ReceiveQueryResultViaCopy(const char *resultId);
|
|
extern void RemoveIntermediateResultsDirectory(void);
|
|
|
|
|
|
#endif /* INTERMEDIATE_RESULTS_H */
|