summaryrefslogtreecommitdiff
path: root/src/backend/commands/copyto.c
diff options
context:
space:
mode:
authorPeter Eisentraut2023-03-29 06:25:12 +0000
committerPeter Eisentraut2023-03-29 06:25:12 +0000
commit0d15afc875f44bcb0adc244c4d9034023f99b609 (patch)
tree14cfc606b326bd81d6855cb35fa52d3ed69f7849 /src/backend/commands/copyto.c
parent062a8444242404242f7c2b814fed37b329639408 (diff)
Simplify useless 0L constants
In ancient times, these belonged to arguments or fields that were actually of type long, but now they are not anymore, so this "L" decoration is just confusing. (Some other 0L and other "L" constants remain, where they are actually associated with a long type.)
Diffstat (limited to 'src/backend/commands/copyto.c')
-rw-r--r--src/backend/commands/copyto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/copyto.c b/src/backend/commands/copyto.c
index beea1ac687c..9e4b2437a57 100644
--- a/src/backend/commands/copyto.c
+++ b/src/backend/commands/copyto.c
@@ -883,7 +883,7 @@ DoCopyTo(CopyToState cstate)
else
{
/* run the plan --- the dest receiver will send tuples */
- ExecutorRun(cstate->queryDesc, ForwardScanDirection, 0L, true);
+ ExecutorRun(cstate->queryDesc, ForwardScanDirection, 0, true);
processed = ((DR_copy *) cstate->queryDesc->dest)->processed;
}