mirror of https://github.com/citusdata/citus.git
ReIndent
parent
9b45e3c6fc
commit
47e67e81e6
|
@ -124,7 +124,8 @@ ConnectToRemoteAndStartCopy(ShardCopyDestReceiver *copyDest)
|
||||||
ReportConnectionError(copyDest->connection, ERROR);
|
ReportConnectionError(copyDest->connection, ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
PGresult *result = GetRemoteCommandResult(copyDest->connection, true /* raiseInterrupts */);
|
PGresult *result = GetRemoteCommandResult(copyDest->connection,
|
||||||
|
true /* raiseInterrupts */);
|
||||||
if (PQresultStatus(result) != PGRES_COPY_IN)
|
if (PQresultStatus(result) != PGRES_COPY_IN)
|
||||||
{
|
{
|
||||||
ReportResultError(copyDest->connection, result, ERROR);
|
ReportResultError(copyDest->connection, result, ERROR);
|
||||||
|
@ -331,6 +332,7 @@ CreateShardCopyDestReceiver(EState *executorState,
|
||||||
return (DestReceiver *) copyDest;
|
return (DestReceiver *) copyDest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ShardCopyDestReceiverDestroy frees the DestReceiver.
|
* ShardCopyDestReceiverDestroy frees the DestReceiver.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -75,6 +75,7 @@ worker_split_copy(PG_FUNCTION_ARGS)
|
||||||
PG_RETURN_VOID();
|
PG_RETURN_VOID();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Parse a single SplitCopyInfo Tuple */
|
/* Parse a single SplitCopyInfo Tuple */
|
||||||
static void
|
static void
|
||||||
ParseSplitCopyInfoDatum(Datum splitCopyInfoDatum, SplitCopyInfo **splitCopyInfo)
|
ParseSplitCopyInfoDatum(Datum splitCopyInfoDatum, SplitCopyInfo **splitCopyInfo)
|
||||||
|
|
Loading…
Reference in New Issue