mirror of https://github.com/citusdata/citus.git
25 lines
639 B
C
25 lines
639 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* worker_shard_visibility.h
|
|
* Hide shard names on MX worker nodes.
|
|
*
|
|
* Copyright (c) Citus Data, Inc.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef WORKER_SHARD_VISIBILITY_H
|
|
#define WORKER_SHARD_VISIBILITY_H
|
|
|
|
#include "nodes/nodes.h"
|
|
|
|
extern bool OverrideTableVisibility;
|
|
|
|
|
|
extern void ReplaceTableVisibleFunction(Node *inputNode);
|
|
extern void ErrorIfRelationIsAKnownShard(Oid relationId);
|
|
extern bool RelationIsAKnownShard(Oid shardRelationId, bool onlySearchPath);
|
|
|
|
|
|
#endif /* WORKER_SHARD_VISIBILITY_H */
|