mirror of https://github.com/citusdata/citus.git
28 lines
831 B
C
28 lines
831 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* distobject.h
|
|
* Declarations for functions to work with pg_dist_object
|
|
*
|
|
* Copyright (c) 2019, Citus Data, Inc.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef CITUS_METADATA_DISTOBJECT_H
|
|
#define CITUS_METADATA_DISTOBJECT_H
|
|
|
|
#include "postgres.h"
|
|
|
|
#include "catalog/objectaddress.h"
|
|
|
|
|
|
extern bool ObjectExists(const ObjectAddress *address);
|
|
extern bool IsObjectDistributed(const ObjectAddress *address);
|
|
extern bool ClusterHasDistributedFunctionWithDistArgument(void);
|
|
extern void MarkObjectDistributed(const ObjectAddress *distAddress);
|
|
extern void UnmarkObjectDistributed(const ObjectAddress *address);
|
|
|
|
extern List * GetDistributedObjectAddressList(void);
|
|
|
|
#endif /* CITUS_METADATA_DISTOBJECT_H */
|