projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a4a62
)
Fix compilation warning in test_copy_callbacks
author
Michael Paquier
Tue, 11 Oct 2022 23:45:01 +0000
(08:45 +0900)
committer
Michael Paquier
Tue, 11 Oct 2022 23:45:01 +0000
(08:45 +0900)
A passed-in parameter value was incorrect, for a warning coming from
MSVC.
Oversight in
9fcdf2c
.
Reported-by: Andres Freund
Discussion: https://postgr.es/m/
20221011224221
[email protected]
src/test/modules/test_copy_callbacks/test_copy_callbacks.c
patch
|
blob
|
blame
|
history
diff --git
a/src/test/modules/test_copy_callbacks/test_copy_callbacks.c
b/src/test/modules/test_copy_callbacks/test_copy_callbacks.c
index ecdbe4eee1b95f166a82f48dbc627b657a889440..4a7c888dcdec540fe56fcbd62b21595d5ca82bc7 100644
(file)
--- a/
src/test/modules/test_copy_callbacks/test_copy_callbacks.c
+++ b/
src/test/modules/test_copy_callbacks/test_copy_callbacks.c
@@
-37,7
+37,7
@@
test_copy_to_callback(PG_FUNCTION_ARGS)
CopyToState cstate;
int64 processed;
- cstate = BeginCopyTo(NULL, rel, NULL, RelationGetRelid(rel), NULL,
NULL
,
+ cstate = BeginCopyTo(NULL, rel, NULL, RelationGetRelid(rel), NULL,
false
,
to_cb, NIL, NIL);
processed = DoCopyTo(cstate);
EndCopyTo(cstate);