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: | 2016-04-21 14:52:32 |
Message-ID: | E1atFy4-0002qv-FQ@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.
This fixes a problem which is not new, but with the advent of direct
foreign table modification in 0bf3ae88af330496517722e391e7c975e6bad219,
it's somewhat more likely to be annoying than previously. So,
arrange for a local query cancelation to propagate to the remote side.
Michael Paquier, reviewed by Etsuro Fujita. Original report by
Thom Brown.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f039eaac7131ef2a4cf63a10cf98486f8bcd09d2
Modified Files
--------------
contrib/postgres_fdw/connection.c | 99 +++++++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c | 123 +++++++++++++++++++++++-------------
contrib/postgres_fdw/postgres_fdw.h | 2 +
3 files changed, 180 insertions(+), 44 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2016-04-21 14:58:25 | Re: [COMMITTERS] pgsql: Inline initial comparisons in TestForOldSnapshot() |
Previous Message | Kevin Grittner | 2016-04-21 14:16:18 | Re: Re: [COMMITTERS] pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < |