[pgpool-committers: 3484] pgpool: In PostgreSQL 9.6, in COPY query copy the output of an

Tatsuo Ishii ishii at postgresql.org
Fri Sep 9 18:54:52 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.

Branches
--------
IMPORT_96_PARSER
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1f5719723384ba9ca622f124cb282d9e39df525d
Author: pengbo <pengbo at sraoss.co.jp>

Modified Files
--------------
src/context/pool_query_context.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list