mirror of https://github.com/citusdata/citus.git
Fix #469
This change renames one of the ReceiveRegularFile functions with more descriptive name.pull/517/head
parent
ad61d4ae06
commit
0e71ffd937
|
@ -31,12 +31,12 @@ static bool ReceiveCopyData(StringInfo copyData);
|
|||
|
||||
|
||||
/*
|
||||
* ReceiveRegularFile receives data from stdin using the standard copy
|
||||
* RedirectCopyDataToRegularFile receives data from stdin using the standard copy
|
||||
* protocol. The function then creates or truncates a file with the given
|
||||
* filename, and appends received data to this file.
|
||||
*/
|
||||
void
|
||||
ReceiveRegularFile(const char *filename)
|
||||
RedirectCopyDataToRegularFile(const char *filename)
|
||||
{
|
||||
StringInfo copyData = makeStringInfo();
|
||||
bool copyDone = false;
|
||||
|
|
|
@ -123,7 +123,7 @@ multi_ProcessUtility(Node *parsetree,
|
|||
/* ->relation->relname is the target file in our overloaded COPY */
|
||||
if (copyStatement->is_from)
|
||||
{
|
||||
ReceiveRegularFile(copyStatement->relation->relname);
|
||||
RedirectCopyDataToRegularFile(copyStatement->relation->relname);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
/* Function declarations for transmitting files between two nodes */
|
||||
extern void ReceiveRegularFile(const char *filename);
|
||||
extern void RedirectCopyDataToRegularFile(const char *filename);
|
||||
extern void SendRegularFile(const char *filename);
|
||||
|
||||
/* Function declaration local to commands and worker modules */
|
||||
|
|
Loading…
Reference in New Issue