pgpool2.git / summary / log / commit / refs
commit b878fc688e81fe232ab966ad7c1c3eeb0159a550
Author: Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date: Wed Sep 13 10:21:53 2006 +0000
Fix kind mismatch error in COPY FROM STDIN.
pool_process_query.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pool_process_query.c b/pool_process_query.c
index b2d95352b..6d6d22893 100644
--- a/pool_process_query.c
+++ b/pool_process_query.c
@@ -1941,6 +1941,12 @@ static POOL_STATUS CopyDataRows(POOL_CONNECTION *frontend,
{
if (pool_flush(CONNECTION(backend, i)) <0)
return POOL_END;
+
+ if (pool_config->replication_strict)
+ {
+ if (synchronize(CONNECTION(backend, i)))
+ return POOL_END;
+ }
}
}
}
[parent: 8423cb350588]