mirror of https://github.com/citusdata/citus.git
28 lines
832 B
C
28 lines
832 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* worker_shard_copy.c
|
|
* Copy data to destination shard in a push approach.
|
|
*
|
|
* Copyright (c) Citus Data, Inc.
|
|
*
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef WORKER_SHARD_COPY_H_
|
|
#define WORKER_SHARD_COPY_H_
|
|
|
|
/* GUC, determining whether Binary Copy is enabled */
|
|
extern bool EnableBinaryProtocol;
|
|
|
|
extern DestReceiver * CreateShardCopyDestReceiver(EState *executorState,
|
|
List *destinationShardFullyQualifiedName,
|
|
uint32_t destinationNodeId);
|
|
|
|
extern const char * CopyableColumnNamesFromRelationName(const char *schemaName, const
|
|
char *relationName);
|
|
|
|
extern const char * CopyableColumnNamesFromTupleDesc(TupleDesc tupdesc);
|
|
|
|
#endif /* WORKER_SHARD_COPY_H_ */
|