[pgpool-committers: 3447] pgpool: In PostgreSQL 9.6, in COPY query copy the output of an
pengbo
pengbo at sraoss.co.jp
Mon Sep 5 10:39:36 JST 2016
In PostgreSQL 9.6, in COPY query copy the output of an
INSERT/UPDATE/DELETE ... RETURNING query is allowed.
In Pgpool, all of the (COPY...TO... ) was send to either primary node
or load balance node. Sometimes it causes a error.
To fix that, the query (COPY (UPDATE | INSERT | DELETE ... RETURNING ...) TO ...)
is only sent to primary node.
Branch
------
IMPORT_96_PARSER
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=59d6b33d7e146b224c9560b3c79bcfc61da78c09
Modified Files
--------------
src/context/pool_query_context.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
More information about the pgpool-committers
mailing list