pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: MOHAN KUMAR DORAIRAJ <mohankumar.dorairaj@globalfoundries.com>
Cc: Mahendra Singh <mahi6run@gmail.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16145: Not able to terminate active session
Date: Wed, 04 Dec 2019 08:34:34 -0500
Message-ID: <14093.1575466474@sss.pgh.pa.us> (raw)
In-Reply-To: <CANnY_AMaJpCRyAVf3YkXQxkkPjou=2JXMY4b4tm+7ocnTMPZ0Q@mail.gmail.com>
References: <16145-d617c77db801047b@postgresql.org>
	<20191203141147.lofq3gwn3u3vkkze@development>
	<CANnY_AM9QqhgX1vJB71kag5qvaTgSL7n3pdf=t70dzkGMHvnVw@mail.gmail.com>
	<20191203155458.jaauye67db32omk4@development>
	<CANnY_AP-CpeaZ0BtEBAugFPu-FbNnjNAhRE1bRrkBxodvRY3+w@mail.gmail.com>
	<20191203163818.vi4ocgg7mfo53fbz@development>
	<CAKYtNArb5srWO_LW5CxonY6rH1tP4a_Raqfeb+g6ANzttqrn6w@mail.gmail.com>
	<CANnY_AOYf9bV2q0Z=R_0=CqWdUNw1Y3HT=RDQqgUO1dZ2D8wpQ@mail.gmail.com>
	<13041.1575465012@sss.pgh.pa.us>
	<CANnY_AMaJpCRyAVf3YkXQxkkPjou=2JXMY4b4tm+7ocnTMPZ0Q@mail.gmail.com>

MOHAN KUMAR DORAIRAJ <mohankumar.dorairaj@globalfoundries.com> writes:
> Is there any other alternative option available.?

Well, why is it that your session is sitting waiting for input from
the Oracle server?  That doesn't seem like a condition that ought
to be persistent, most of the time.  Perhaps redesigning your
queries against that foreign server would help.

Also, I do recommend asking the Oracle FDW authors about this.
It's possible that adding some CHECK_FOR_INTERRUPT calls in that
FDW would ameliorate things.  (I don't know where to file issues
about oracle_fdw, but it's not this list.)

			regards, tom lane





view thread (15+ messages)  latest in thread

Message-ID: <14093.1575466474@sss.pgh.pa.us>
Permalink:  ../14093.1575466474@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14093.1575466474@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mohankumar.dorairaj@globalfoundries.com, mahi6run@gmail.com, tomas.vondra@2ndquadrant.com
  Subject: Re: BUG #16145: Not able to terminate active session
  In-Reply-To: <14093.1575466474@sss.pgh.pa.us>
  References: <16145-d617c77db801047b@postgresql.org> <20191203141147.lofq3gwn3u3vkkze@development> <CANnY_AM9QqhgX1vJB71kag5qvaTgSL7n3pdf=t70dzkGMHvnVw@mail.gmail.com> <20191203155458.jaauye67db32omk4@development> <CANnY_AP-CpeaZ0BtEBAugFPu-FbNnjNAhRE1bRrkBxodvRY3+w@mail.gmail.com> <20191203163818.vi4ocgg7mfo53fbz@development> <CAKYtNArb5srWO_LW5CxonY6rH1tP4a_Raqfeb+g6ANzttqrn6w@mail.gmail.com> <CANnY_AOYf9bV2q0Z=R_0=CqWdUNw1Y3HT=RDQqgUO1dZ2D8wpQ@mail.gmail.com> <13041.1575465012@sss.pgh.pa.us> <CANnY_AMaJpCRyAVf3YkXQxkkPjou=2JXMY4b4tm+7ocnTMPZ0Q@mail.gmail.com> <14093.1575466474@sss.pgh.pa.us>

* 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