aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-10-12 08:45:01 +0900
committerMichael Paquier <michael@paquier.xyz>2022-10-12 08:45:01 +0900
commit94fd253d561bcc1db067d04f75fc1f34c3b9962f (patch)
treeff853c261b78b235d172cf94306452c2c22e46ac /src
parent18a4a620e2de0e25a15303a8f78ff415950a14ef (diff)
downloadpostgresql-94fd253d561bcc1db067d04f75fc1f34c3b9962f.tar.gz
postgresql-94fd253d561bcc1db067d04f75fc1f34c3b9962f.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/test/modules/test_copy_callbacks/test_copy_callbacks.c2
1 files changed, 1 insertions, 1 deletions
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 ecdbe4eee1b..4a7c888dcde 100644
--- 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);