]> granicus.if.org Git - postgresql/commit
Allow queries submitted by postgres_fdw to be canceled.
authorRobert Haas <rhaas@postgresql.org>
Thu, 21 Apr 2016 14:46:09 +0000 (10:46 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 21 Apr 2016 14:49:09 +0000 (10:49 -0400)
commitf039eaac7131ef2a4cf63a10cf98486f8bcd09d2
tree7cf01d74aa16537ce41f72f9c796cc0e896270c6
parent11e178d0dc4bc2328ae4759090b3c48b07023fab
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.
contrib/postgres_fdw/connection.c
contrib/postgres_fdw/postgres_fdw.c
contrib/postgres_fdw/postgres_fdw.h