Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPdQF-0004k4-Bq for pgsql-general@arkaria.postgresql.org; Sun, 12 May 2019 01:37:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hPdQD-0001fT-Vw for pgsql-general@arkaria.postgresql.org; Sun, 12 May 2019 01:37:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPdQD-0001fI-Ma; Sun, 12 May 2019 01:37:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPdQ6-0002kd-2t; Sun, 12 May 2019 01:37:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x4C1alPe023277; Sat, 11 May 2019 21:36:47 -0400 From: Tom Lane To: neeraj kumar cc: Jeremy Schneider , pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Re: Query on pg_stat_activity table got stuck In-reply-to: <5979.1557543440@sss.pgh.pa.us> References: <15877.1557178386@sss.pgh.pa.us> <21502.1557339176@sss.pgh.pa.us> <29660.1557352732@sss.pgh.pa.us> <30687.1557432052@sss.pgh.pa.us> <32704.1557458701@sss.pgh.pa.us> <2586.1557462558@sss.pgh.pa.us> <28335.1557504838@sss.pgh.pa.us> <5979.1557543440@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 10 May 2019 22:57:20 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23275.1557625007.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 11 May 2019 21:36:47 -0400 Message-ID: <23276.1557625007@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > This patch is against HEAD --- I've not looked at how much adjustment > it'll need for the back branches, but I'm sure there's some. I've back-patched this now. If you want to test the patch, the v10-branch version is at https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommitdiff;h=3Dc= 3d113136bbaa86fbf1edde7aaf70ba06a6166b7 regards, tom lane