Merge pull request #517 from citusdata/fix/fix_469_rename_ReceiveRegularFile

Change duplicated function name - RecieveRegularFile()
pull/486/head
Burak Yücesoy 2016-05-26 14:05:55 +03:00
commit c75df74348
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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
{

View File

@ -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 */