Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lejiJ-0001gU-QZ for pgsql-hackers@arkaria.postgresql.org; Thu, 06 May 2021 19:31:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lejiI-00049J-Lw for pgsql-hackers@arkaria.postgresql.org; Thu, 06 May 2021 19:31:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lejiI-00049B-EX for pgsql-hackers@lists.postgresql.org; Thu, 06 May 2021 19:31:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lejiF-0004hX-OR for pgsql-hackers@lists.postgresql.org; Thu, 06 May 2021 19:31:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 146JV2QZ4175733; Thu, 6 May 2021 15:31:02 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , vignesh C , Bharath Rupireddy , Craig Ringer , Peter Eisentraut , PostgreSQL Hackers Subject: Re: Printing backtrace of postgres processes In-reply-to: <20210506191905.24rprjcj5ssjqcb2@alap3.anarazel.de> References: <20210127170958.vzo33jzmqwhmn7z6@alap3.anarazel.de> <3886673.1612337426@sss.pgh.pa.us> <4174276.1620327369@sss.pgh.pa.us> <20210506191905.24rprjcj5ssjqcb2@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 06 May 2021 12:19:05 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4175731.1620329462.1@sss.pgh.pa.us> Date: Thu, 06 May 2021 15:31:02 -0400 Message-ID: <4175732.1620329462@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2021-05-06 14:56:09 -0400, Tom Lane wrote: >> If we think it's worth having a predefined role for, OK. However, >> I don't like the future I see us heading towards where there are >> hundreds of random predefined roles. Is there an existing role >> that it'd be reasonable to attach this ability to? > It does seem like it'd be good to group it in with something > else. There's nothing fitting 100% though. I'd probably vote for pg_read_all_data, considering that much of the concern about this has to do with the possibility of exposure of sensitive data. I'm not quite sure what the security expectations are for pg_monitor. regards, tom lane