pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Allow queries submitted by postgres_fdw to be canceled.
4+ messages / 1 participants
[nested] [flat]

* pgsql: Allow queries submitted by postgres_fdw to be canceled.
@ 2016-04-21 14:52  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2016-04-21 14:52 UTC (permalink / raw)
  To: 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(-)


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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Allow queries submitted by postgres_fdw to be canceled.
@ 2017-05-07 02:24  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2017-05-07 02:24 UTC (permalink / raw)
  To: 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(-)


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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Allow queries submitted by postgres_fdw to be canceled.
@ 2017-05-07 02:24  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2017-05-07 02:24 UTC (permalink / raw)
  To: 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_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f14bf0a8fdd5a9fb2c5be692e0c9003185b88fa3

Modified Files
--------------
contrib/postgres_fdw/connection.c   | 122 ++++++++++++++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c | 109 ++++++++++++++++++++------------
contrib/postgres_fdw/postgres_fdw.h |   2 +
3 files changed, 193 insertions(+), 40 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Allow queries submitted by postgres_fdw to be canceled.
@ 2017-05-07 02:24  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Haas @ 2017-05-07 02:24 UTC (permalink / raw)
  To: 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_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3aa16b117a28d70790ce492435d1dfc323edb547

Modified Files
--------------
contrib/postgres_fdw/connection.c   | 122 ++++++++++++++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c | 109 ++++++++++++++++++++------------
contrib/postgres_fdw/postgres_fdw.h |   2 +
3 files changed, 193 insertions(+), 40 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2017-05-07 02:24 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 14:52 pgsql: Allow queries submitted by postgres_fdw to be canceled. Robert Haas <rhaas@postgresql.org>
2017-05-07 02:24 pgsql: Allow queries submitted by postgres_fdw to be canceled. Robert Haas <rhaas@postgresql.org>
2017-05-07 02:24 pgsql: Allow queries submitted by postgres_fdw to be canceled. Robert Haas <rhaas@postgresql.org>
2017-05-07 02:24 pgsql: Allow queries submitted by postgres_fdw to be canceled. Robert Haas <rhaas@postgresql.org>

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