From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Allow queries submitted by postgres_fdw to be canceled. |
Date: | 2017-05-07 02:24:27 |
Message-ID: | E1d7Bs3-0003rL-IF@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Allow queries submitted by postgres_fdw to be canceled.
Back-patch of commits f039eaac7131ef2a4cf63a10cf98486f8bcd09d2 and
1b812afb0eafe125b820cc3b95e7ca03821aa675, which arranged (in 9.6+) to
make remote queries interruptible. It was known at the time that the
same problem existed in the back-branches, but I did not back-patch
for lack of a user complaint.
Michael Paquier and Etsuro Fujita, adjusted for older branches by me.
Per gripe from Suraj Kharage. This doesn't directly addresss Suraj's
gripe, but since the patch that will do so builds up on top of this
work, it seems best to back-patch this part first.
Discussion: http://postgr.es/m/CAF1DzPU8Kx+fMXEbFoP289xtm3bz3t+ZfxhmKavr98Bh-C0TqQ@mail.gmail.com
Branch
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/cdf5a004bb7cc78e70ffe5213049dc853b93e699
Modified Files
--------------
contrib/postgres_fdw/connection.c | 121 ++++++++++++++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c | 113 ++++++++++++++++++++-------------
contrib/postgres_fdw/postgres_fdw.h | 2 +
3 files changed, 194 insertions(+), 42 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2017-05-07 02:59:36 | pgsql: pg_dump: Don't leak memory in buildDefaultACLCommands() |
Previous Message | Stephen Frost | 2017-05-07 01:48:37 | pgsql: RLS: Fix ALL vs. SELECT+UPDATE policy usage |