Make LookupNodeForGroup extern

pull/2957/head
Jelte Fennema 2019-09-06 12:42:51 +02:00
parent 257406fda7
commit eb7e45d556
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,6 @@ static void CachedRelationNamespaceLookup(const char *relationName, Oid relnames
Oid *cachedOid);
static ShardPlacement * ResolveGroupShardPlacement(
GroupShardPlacement *groupShardPlacement, ShardCacheEntry *shardEntry);
static WorkerNode * LookupNodeForGroup(int32 groupId);
static Oid LookupEnumValueId(Oid typeId, char *valueName);
static void InvalidateEntireDistCache(void);
@ -596,7 +595,7 @@ LookupNodeByNodeId(uint32 nodeId)
* if we're reading from secondaries). If such a node does not exist it emits an
* appropriate error message.
*/
static WorkerNode *
WorkerNode *
LookupNodeForGroup(int32 groupId)
{
bool foundAnyNodes = false;

View File

@ -122,6 +122,7 @@ extern void EnsureModificationsCanRun(void);
/* access WorkerNodeHash */
extern HTAB * GetWorkerNodeHash(void);
extern WorkerNode * LookupNodeByNodeId(uint32 nodeId);
extern WorkerNode * LookupNodeForGroup(int32 groupId);
/* namespace oids */
extern Oid CitusCatalogNamespaceId(void);