Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 94fd253

Browse files
committed
Fix compilation warning in test_copy_callbacks
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.dvg5q7e7vhjdtcvv@awork3.anarazel.de
1 parent 18a4a62 commit 94fd253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/modules/test_copy_callbacks/test_copy_callbacks.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test_copy_to_callback(PG_FUNCTION_ARGS)
3737
CopyToState cstate;
3838
int64 processed;
3939

40-
cstate = BeginCopyTo(NULL, rel, NULL, RelationGetRelid(rel), NULL, NULL,
40+
cstate = BeginCopyTo(NULL, rel, NULL, RelationGetRelid(rel), NULL, false,
4141
to_cb, NIL, NIL);
4242
processed = DoCopyTo(cstate);
4343
EndCopyTo(cstate);

0 commit comments

Comments
 (0)