pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow queries submitted by postgres_fdw to be canceled.
Date: Thu, 21 Apr 2016 14:52:32 +0000
Message-ID: <E1atFy4-0002qv-FQ@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (4+ messages)  latest in thread

Message-ID: <E1atFy4-0002qv-FQ@gemulon.postgresql.org>
Permalink:  ../E1atFy4-0002qv-FQ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1atFy4-0002qv-FQ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Allow queries submitted by postgres_fdw to be canceled.
  In-Reply-To: <E1atFy4-0002qv-FQ@gemulon.postgresql.org>
  References: <E1atFy4-0002qv-FQ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox